Comments (5)
from clip-retrieval.
Is your network blocking GitHub?
…
On Thu, Mar 14, 2024, 9:01 AM IF-chan @.***> wrote: When I run clip-retrieval back --port 1234 --indices-paths indices_paths.json ,the error below occurred: starting boot of clip back warming up with batch size 1 on cpu done warming up in 0.9266810417175293s Traceback (most recent call last): File "D:\Program Files\python310\lib\site-packages\aiohttp\connector.py", line 992, in _wrap_create_connection return await self._loop.create_connection(*args, **kwargs) File "D:\Program Files\python310\lib\asyncio\base_events.py", line 1064, in create_connection raise exceptions[0] File "D:\Program Files\python310\lib\asyncio\base_events.py", line 1049, in create_connection sock = await self._connect_sock( File "D:\Program Files\python310\lib\asyncio\base_events.py", line 960, in _connect_sock await self.sock_connect(sock, address) File "D:\Program Files\python310\lib\asyncio\selector_events.py", line 500, in sock_connect return await fut File "D:\Program Files\python310\lib\asyncio\selector_events.py", line 535, in _sock_connect_cb raise OSError(err, f'Connect call failed {address}') TimeoutError: [Errno 10060] Connect call failed ('20.205.243.166', 443) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "D:\Program Files\python310\lib\site-packages\fsspec\implementations\http.py", line 419, in _info await _file_info( File "D:\Program Files\python310\lib\site-packages\fsspec\implementations\http.py", line 828, in _file_info r = await session.get(url, allow_redirects=ar, **kwargs) File "D:\Program Files\python310\lib\site-packages\aiohttp\client.py", line 578, in _request conn = await self._connector.connect( File "D:\Program Files\python310\lib\site-packages\aiohttp\connector.py", line 544, in connect proto = await self._create_connection(req, traces, timeout) File "D:\Program Files\python310\lib\site-packages\aiohttp\connector.py", line 911, in _create_connection _, proto = await self._create_direct_connection(req, traces, timeout) File "D:\Program Files\python310\lib\site-packages\aiohttp\connector.py", line 1235, in _create_direct_connection raise last_exc File "D:\Program Files\python310\lib\site-packages\aiohttp\connector.py", line 1204, in _create_direct_connection transp, proto = await self._wrap_create_connection( File "D:\Program Files\python310\lib\site-packages\aiohttp\connector.py", line 1000, in _wrap_create_connection raise client_error(req.connection_key, exc) from exc aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host github.com:443 ssl:default [Connect call failed ('20.205.243.166', 443)] The above exception was the direct cause of the following exception: Traceback (most recent call last): File "D:\Program Files\python310\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "D:\Program Files\python310\lib\runpy.py", line 86, in run_code exec(code, run_globals) File "D:\Program Files\python310\Scripts\clip-retrieval.exe_main.py", line 7, in sys.exit(main()) File "D:\Program Files\python310\lib\site-packages\clip_retrieval\cli.py", line 18, in main fire.Fire( File "D:\Program Files\python310\lib\site-packages\fire\core.py", line 141, in Fire component_trace = _Fire(component, args, parsed_flag_args, context, name) File "D:\Program Files\python310\lib\site-packages\fire\core.py", line 475, in _Fire component, remaining_args = _CallAndUpdateTrace( File "D:\Program Files\python310\lib\site-packages\fire\core.py", line 691, in _CallAndUpdateTrace component = fn(*varargs, **kwargs) File "D:\Program Files\python310\lib\site-packages\clip_retrieval\clip_back.py", line 974, in clip_back clip_resources = load_clip_indices( File "D:\Program Files\python310\lib\site-packages\clip_retrieval\clip_back.py", line 947, in load_clip_indices clip_resources[name] = load_clip_index(clip_options) File "D:\Program Files\python310\lib\site-packages\clip_retrieval\clip_back.py", line 880, in load_clip_index get_aesthetic_embedding(clip_options.clip_model) if clip_options.provide_aesthetic_embeddings else None File "D:\Program Files\python310\lib\site-packages\clip_retrieval\clip_back.py", line 694, in get_aesthetic_embedding for _ in pool.imap_unordered(get, range(10)): File "D:\Program Files\python310\lib\multiprocessing\pool.py", line 873, in next raise value File "D:\Program Files\python310\lib\multiprocessing\pool.py", line 125, in worker result = (True, func(*args, **kwds)) File "D:\Program Files\python310\lib\site-packages\clip_retrieval\clip_back.py", line 688, in get with fs.open( File "D:\Program Files\python310\lib\site-packages\fsspec\spec.py", line 1293, in open f = self._open( File "D:\Program Files\python310\lib\site-packages\fsspec\implementations\http.py", line 358, in _open size = size or self.info(path, **kwargs)["size"] File "D:\Program Files\python310\lib\site-packages\fsspec\asyn.py", line 118, in wrapper return sync(self.loop, func, args, kwargs) File "D:\Program Files\python310\lib\site-packages\fsspec\asyn.py", line 103, in sync raise return_result File "D:\Program Files\python310\lib\site-packages\fsspec\asyn.py", line 56, in _runner result[0] = await coro File "D:\Program Files\python310\lib\site-packages\fsspec\implementations\http.py", line 432, in _info raise FileNotFoundError(url) from exc FileNotFoundError: https://github.com/LAION-AI/aesthetic-predictor/blob/main/vit_b_32_embeddings/rating1.npy?raw=true — Reply to this email directly, view it on GitHub <#374>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR437VYLRTTML52RDOSPBDYYFKPFAVCNFSM6AAAAABEVSVTHKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4DKNRYG4YTMMY . You are receiving this because you are subscribed to this thread.Message ID: @.>
I have used vpn but it still occurs
from clip-retrieval.
Just download it manually and put it into specified dir
from clip-retrieval.
Just download it manually and put it into specified dir
specified dir?
more details?
from clip-retrieval.
Simply clone the repo of https://github.com/LAION-AI/aesthetic-predictor, and change corresponding https links in clip_back.py
into absolute path.
from clip-retrieval.
Related Issues (20)
- clip front not working?? HOT 2
- Fix release HOT 1
- issue with inference HOT 13
- JSONDecodeError: Expecting value: line 1 column 1 (char 0) HOT 1
- Access to laion5B-index temporarily disabled HOT 2
- A possible solution to solve KeyError: 'xxx.txt' when using “clip-retrieval inference” command HOT 3
- Error: JSONDecodeError: Expecting value: line 1 column 1 (char 0) HOT 2
- ValueError: prefetch_factor option could only be specified in multiprocessing. HOT 1
- Front UI Error when deployed locally HOT 3
- Need Help in using custom dataset(Important) HOT 1
- UI down? HOT 1
- clip retrieval website is not working HOT 2
- Errors when retrieval back HOT 6
- Is there some way to continue inferencing embeddings from interrupt?
- How to use my finetined clip checkpoint HOT 7
- Can I index with embedding in jsonl file?
- Directly get image from indices HOT 6
- Clip Retrieval UI / Clip front is down HOT 2
- Cannot connect to https://knn.laion.ai/knn-service HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clip-retrieval.