Spaces:
Runtime error
ona10g
runtime error
�███▎ | 381M/933M [00:01<00:01, 289MiB/s] 42%|████████████████▉ | 395M/933M [00:01<00:01, 300MiB/s] Traceback (most recent call last): File "app.py", line 10, in <module> ci_vitl = Interrogator(config) File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/clip_interrogator/clip_interrogator.py", line 90, in __init__ self.load_clip_model() File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/clip_interrogator/clip_interrogator.py", line 101, in load_clip_model self.clip_model, _, self.clip_preprocess = open_clip.create_model_and_transforms( File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/open_clip/factory.py", line 292, in create_model_and_transforms model = create_model( File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/open_clip/factory.py", line 144, in create_model model = load_openai_model( File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/open_clip/openai.py", line 58, in load_openai_model model_path = download_pretrained_from_url(get_pretrained_url(name, 'openai'), cache_dir=cache_dir) File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/open_clip/pretrained.py", line 308, in download_pretrained_from_url buffer = source.read(8192) File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/http/client.py", line 455, in read n = self.readinto(b) File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/http/client.py", line 499, in readinto n = self.fp.readinto(b) File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/socket.py", line 669, in readinto return self._sock.recv_into(b) File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/ssl.py", line 1241, in recv_into return self.read(nbytes, buffer) File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/ssl.py", line 1099, in read return self._sslobj.read(len, buffer) ConnectionResetError: [Errno 104] Connection reset by peer
Container logs:
Loading BLIP model...
Downloading: 0%| | 0.00/226k [00:00<?, ?B/s]
Downloading: 100%|██████████| 226k/226k [00:00<00:00, 50.9MB/s]
Downloading: 0%| | 0.00/28.0 [00:00<?, ?B/s]
Downloading: 100%|██████████| 28.0/28.0 [00:00<00:00, 44.8kB/s]
Downloading: 0%| | 0.00/455k [00:00<?, ?B/s]
Downloading: 100%|██████████| 455k/455k [00:00<00:00, 62.8MB/s]
Downloading: 0%| | 0.00/570 [00:00<?, ?B/s]
Downloading: 100%|██████████| 570/570 [00:00<00:00, 640kB/s]
0%| | 0.00/1.66G [00:00<?, ?B/s]
1%|▏ | 23.4M/1.66G [00:00<00:07, 245MB/s]
3%|▎ | 47.5M/1.66G [00:00<00:06, 250MB/s]
5%|▍ | 79.4M/1.66G [00:00<00:05, 288MB/s]
7%|▋ | 114M/1.66G [00:00<00:05, 318MB/s]
9%|▉ | 149M/1.66G [00:00<00:04, 336MB/s]
11%|█ | 182M/1.66G [00:00<00:04, 341MB/s]
13%|█▎ | 215M/1.66G [00:00<00:04, 339MB/s]
15%|█▍ | 247M/1.66G [00:00<00:04, 332MB/s]
16%|█▋ | 281M/1.66G [00:00<00:04, 337MB/s]
18%|█▊ | 313M/1.66G [00:01<00:04, 339MB/s]
20%|██ | 346M/1.66G [00:01<00:04, 339MB/s]
22%|██▏ | 378M/1.66G [00:01<00:04, 337MB/s]
24%|██▍ | 410M/1.66G [00:01<00:04, 337MB/s]
26%|██▌ | 443M/1.66G [00:01<00:03, 336MB/s]
28%|██▊ | 475M/1.66G [00:01<00:03, 331MB/s]
30%|██▉ | 506M/1.66G [00:01<00:03, 323MB/s]
32%|███▏ | 540M/1.66G [00:01<00:03, 332MB/s]
34%|███▎ | 574M/1.66G [00:01<00:03, 339MB/s]
36%|███▌ | 606M/1.66G [00:01<00:03, 338MB/s]
38%|███▊ | 639M/1.66G [00:02<00:03, 339MB/s]
39%|███▉ | 671M/1.66G [00:02<00:03, 327MB/s]
41%|████▏ | 703M/1.66G [00:02<00:03, 326MB/s]
43%|████▎ | 736M/1.66G [00:02<00:03, 332MB/s]
45%|████▌ | 767M/1.66G [00:02<00:02, 327MB/s]
47%|████▋ | 800M/1.66G [00:02<00:02, 332MB/s]
49%|████▉ | 833M/1.66G [00:02<00:02, 337MB/s]
51%|█████ | 866M/1.66G [00:02<00:02, 339MB/s]
53%|█████▎ | 898M/1.66G [00:02<00:02, 337MB/s]
55%|█████▍ | 930M/1.66G [00:02<00:02, 330MB/s]
57%|█████▋ | 963M/1.66G [00:03<00:02, 333MB/s]
59%|█████▊ | 996M/1.66G [00:03<00:02, 338MB/s]
60%|██████ | 1.00G/1.66G [00:03<00:02, 337MB/s]
62%|██████▏ | 1.04G/1.66G [00:03<00:02, 334MB/s]
64%|██████▍ | 1.07G/1.66G [00:03<00:01, 328MB/s]
66%|██████▌ | 1.10G/1.66G [00:03<00:01, 330MB/s]
68%|██████▊ | 1.13G/1.66G [00:03<00:01, 329MB/s]
70%|██████▉ | 1.16G/1.66G [00:03<00:01, 326MB/s]
72%|███████▏ | 1.19G/1.66G [00:03<00:01, 320MB/s]
73%|███████▎ | 1.22G/1.66G [00:03<00:01, 318MB/s]
75%|███████▌ | 1.25G/1.66G [00:04<00:01, 322MB/s]
77%|███████▋ | 1.28G/1.66G [00:04<00:01, 330MB/s]
79%|███████▉ | 1.32G/1.66G [00:04<00:01, 335MB/s]
81%|████████ | 1.35G/1.66G [00:04<00:01, 338MB/s]
83%|████████▎ | 1.38G/1.66G [00:04<00:00, 337MB/s]
85%|████████▍ | 1.41G/1.66G [00:04<00:00, 338MB/s]
87%|████████▋ | 1.44G/1.66G [00:04<00:00, 341MB/s]
89%|████████▉ | 1.48G/1.66G [00:04<00:00, 345MB/s]
91%|█████████ | 1.51G/1.66G [00:04<00:00, 342MB/s]
93%|█████████▎| 1.54G/1.66G [00:04<00:00, 334MB/s]
94%|█████████▍| 1.57G/1.66G [00:05<00:00, 290MB/s]
96%|█████████▌| 1.60G/1.66G [00:05<00:00, 266MB/s]
98%|█████████▊| 1.63G/1.66G [00:05<00:00, 278MB/s]
100%|█████████▉| 1.66G/1.66G [00:05<00:00, 294MB/s]
100%|██████████| 1.66G/1.66G [00:05<00:00, 325MB/s]
load checkpoint from https://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_large_caption.pth
Loading CLIP model...
0%| | 0.00/933M [00:00<?, ?iB/s]
3%|█▏ | 27.3M/933M [00:00<00:03, 273MiB/s]
7%|██▌ | 62.3M/933M [00:00<00:02, 318MiB/s]
10%|████ | 96.4M/933M [00:00<00:02, 329MiB/s]
14%|█████▌ | 131M/933M [00:00<00:02, 334MiB/s]
18%|███████ | 164M/933M [00:00<00:02, 301MiB/s]
21%|████████▌ | 199M/933M [00:00<00:02, 316MiB/s]
25%|█████████▉ | 231M/933M [00:00<00:02, 312MiB/s]
28%|███████████▎ | 263M/933M [00:00<00:02, 299MiB/s]
31%|████████████▌ | 293M/933M [00:00<00:02, 293MiB/s]
35%|█████████████▊ | 323M/933M [00:01<00:02, 293MiB/s]
38%|███████████████ | 352M/933M [00:01<00:02, 288MiB/s]
41%|████████████████▎ | 381M/933M [00:01<00:01, 289MiB/s]
42%|████████████████▉ | 395M/933M [00:01<00:01, 300MiB/s]
Traceback (most recent call last):
File "app.py", line 10, in <module>
ci_vitl = Interrogator(config)
File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/clip_interrogator/clip_interrogator.py", line 90, in __init__
self.load_clip_model()
File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/clip_interrogator/clip_interrogator.py", line 101, in load_clip_model
self.clip_model, _, self.clip_preprocess = open_clip.create_model_and_transforms(
File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/open_clip/factory.py", line 292, in create_model_and_transforms
model = create_model(
File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/open_clip/factory.py", line 144, in create_model
model = load_openai_model(
File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/open_clip/openai.py", line 58, in load_openai_model
model_path = download_pretrained_from_url(get_pretrained_url(name, 'openai'), cache_dir=cache_dir)
File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/open_clip/pretrained.py", line 308, in download_pretrained_from_url
buffer = source.read(8192)
File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/http/client.py", line 455, in read
n = self.readinto(b)
File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/http/client.py", line 499, in readinto
n = self.fp.readinto(b)
File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/socket.py", line 669, in readinto
return self._sock.recv_into(b)
File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/ssl.py", line 1241, in recv_into
return self.read(nbytes, buffer)
File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/ssl.py", line 1099, in read
return self._sslobj.read(len, buffer)
ConnectionResetError: [Errno 104] Connection reset by peer