Giter VIP home page Giter VIP logo

Comments (6)

nperraud avatar nperraud commented on July 21, 2024

Can you give me a bit more information?
Which script does not work? Which line? Maybe copy the full trace?

from download-celeba-hq.

timho102003 avatar timho102003 commented on July 21, 2024

Thanks for ur prompt answer!!
Downloading https://www.dropbox.com/sh/8oqt9vytwxb3s4r/AADIKlz8PR9zr6Y20qbkunrba/Img/img_align_celeba.zip?dl=1
Traceback (most recent call last):
File "download_celebA.py", line 183, in
download_celabA(dataset_dir)
File "download_celebA.py", line 115, in download_celabA
filepath = download(url, dataset_dir)
File "download_celebA.py", line 39, in download
urlretrieve(url, filepath)
File "/usr/lib/python3.6/urllib/request.py", line 248, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "/usr/lib/python3.6/urllib/request.py", line 223, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.6/urllib/request.py", line 532, in open
response = meth(req, response)
File "/usr/lib/python3.6/urllib/request.py", line 642, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python3.6/urllib/request.py", line 570, in error
return self._call_chain(*args)
File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain
result = func(*args)
File "/usr/lib/python3.6/urllib/request.py", line 650, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 429: Too Many Requests

from download-celeba-hq.

nperraud avatar nperraud commented on July 21, 2024

I was able to reproduce the error.

The problem comes from the fact that the source of the dataset celebA has limited its access. See the link below.

https://www.dropbox.com/sh/8oqt9vytwxb3s4r/AADIKlz8PR9zr6Y20qbkunrba/Img/img_align_celeba.zip

I can fix this error if you find another place on the web to download the file img_align_celeba.zip.

Sorry...

from download-celeba-hq.

nperraud avatar nperraud commented on July 21, 2024

By the way, I think that dropbox limit download per day. So if this error happens, you should just retry the next morning...

from download-celeba-hq.

timho102003 avatar timho102003 commented on July 21, 2024

@nperraud Actually I've download both celebA and CelebA HQ data manually. Is it possible to run the code to generate the CelebA HQ database?

from download-celeba-hq.

nperraud avatar nperraud commented on July 21, 2024

You can probably only run the last script make_HQ_images.py. But you need to have the correct folder structure for it to work. I guess if you try a bit, you will figure it out.
Good luck!

from download-celeba-hq.

Related Issues (18)

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.