Giter Site home page Giter Site logo

yfcc100m-downloader's People

Contributors

chi0tzp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

yfcc100m-downloader's Issues

Error while running download_index.py

Hi, when running "download_index.py", there is an error:
0%| | 0/1000 [00:00<?, ?it/s]#.Download image directories...
2%|โ– | 15/1000 [12:04<14:32:49, 53.17s/it]Traceback (most recent call last):
File "E:\Anaconda\envs\pytorch\lib\urllib\request.py", line 1319, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "E:\Anaconda\envs\pytorch\lib\http\client.py", line 1252, in request
self._send_request(method, url, body, headers, encode_chunked)
File "E:\Anaconda\envs\pytorch\lib\http\client.py", line 1298, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "E:\Anaconda\envs\pytorch\lib\http\client.py", line 1247, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "E:\Anaconda\envs\pytorch\lib\http\client.py", line 1026, in _send_output
self.send(msg)
File "E:\Anaconda\envs\pytorch\lib\http\client.py", line 966, in send
self.connect()
File "E:\Anaconda\envs\pytorch\lib\http\client.py", line 1422, in connect
server_hostname=server_hostname)
File "E:\Anaconda\envs\pytorch\lib\ssl.py", line 423, in wrap_socket
session=session
File "E:\Anaconda\envs\pytorch\lib\ssl.py", line 870, in _create
self.do_handshake()
File "E:\Anaconda\envs\pytorch\lib\ssl.py", line 1139, in do_handshake
self._sslobj.do_handshake()
FileNotFoundError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "E:/PycharmProject/YFCC100M-Downloader-master/download_index.py", line 65, in
urllib.request.urlretrieve(root_url + cur_img_dir, cur_img_dir_index)
File "E:\Anaconda\envs\pytorch\lib\urllib\request.py", line 247, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "E:\Anaconda\envs\pytorch\lib\urllib\request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "E:\Anaconda\envs\pytorch\lib\urllib\request.py", line 525, in open
response = self._open(req, data)
File "E:\Anaconda\envs\pytorch\lib\urllib\request.py", line 543, in _open
'_open', req)
File "E:\Anaconda\envs\pytorch\lib\urllib\request.py", line 503, in _call_chain
result = func(*args)
File "E:\Anaconda\envs\pytorch\lib\urllib\request.py", line 1362, in https_open
context=self._context, check_hostname=self._check_hostname)
File "E:\Anaconda\envs\pytorch\lib\urllib\request.py", line 1321, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 2] No such file or directory>
2%|โ– | 15/1000 [12:09<13:18:21, 48.63s/it]

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.