Giter Site home page Giter Site logo

FileNotFoundError: https://github.com/LAION-AI/aesthetic-predictor/blob/main/vit_b_32_embeddings/rating1.npy?raw=true about clip-retrieval HOT 5 CLOSED

IF-chan avatar IF-chan commented on June 12, 2024
FileNotFoundError: https://github.com/LAION-AI/aesthetic-predictor/blob/main/vit_b_32_embeddings/rating1.npy?raw=true

from clip-retrieval.

Comments (5)

rom1504 avatar rom1504 commented on June 12, 2024

from clip-retrieval.

IF-chan avatar IF-chan commented on June 12, 2024

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.

Maxwells-Demons avatar Maxwells-Demons commented on June 12, 2024

Just download it manually and put it into specified dir

from clip-retrieval.

IF-chan avatar IF-chan commented on June 12, 2024

Just download it manually and put it into specified dir

specified dir?
more details?

from clip-retrieval.

Maxwells-Demons avatar Maxwells-Demons commented on June 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.