JudyYe / zero-shot-gcn

Zero-Shot Learning with GCN (CVPR 2018)
MIT License
917 stars 178 forks source link

Got error when running download_image.py #14

Closed zcrwind closed 4 years ago

zcrwind commented 5 years ago

I have registered ImageNet and got the accesskey. However, when I run the download_image.py, I obtained the error !!! Error when downloading nxxxx, where xxxx is the wnid. I wanna helps from you guys, many thanks!

khtam commented 5 years ago

same problem, @JudyYe is the has the ImageNet dataset changed or something else wrong? the original URL points to a 'URL not valid' page.

JudyYe commented 5 years ago

Hi,

Thanks for reporting the isues.

The API in the code is based on ImageNet doc: how to download by HTTP protocol, which should (and did) return a tar file containing all images in that wnid.

However, Imagenet is under maintenance recently.

Screen Shot 2019-03-23 at 9 33 51 AM

This probably causes massive invalid URL under this API. (358/1000 in imagenet1k and 1511/1549 in 2-hops.)

A possible workaround is firstly requesting url list http://www.image-net.org/api/text/imagenet.synset.geturls?wnid=[wnid] and then download url one by one. The potential issue is that massive urls have been reported invalid due to Imagenet has been online for 10 years. I am not sure if the fraction of invalid images is significant enough to affect the evaluation. You may refer to this for further details.

Thanks.

JGyoung33 commented 5 years ago

Hi,

Thanks for reporting the isues.

The API in the code is based on ImageNet doc: how to download by HTTP protocol, which should (and did) return a tar file containing all images in that wnid.

However, Imagenet is under maintenance recently.

Screen Shot 2019-03-23 at 9 33 51 AM

This probably causes massive invalid URL under this API. (358/1000 in imagenet1k and 1511/1549 in 2-hops.)

A possible workaround is firstly requesting url list http://www.image-net.org/api/text/imagenet.synset.geturls?wnid=[wnid] and then download url one by one. The potential issue is that massive urls have been reported invalid due to Imagenet has been online for 10 years. I am not sure if the fraction of invalid images is significant enough to affect the evaluation. You may refer to this for further details.

Thanks.

Hi, I met the same problem, and the error is: URL is invalid. It's very regretful that reproduction failed because of this error.

joanconquerlee commented 5 years ago

Hi, I also met the same problem. Only a few classes can be downloaded. So does it mean that I can't reproduce it cause this error? crying...

0xMarsRover commented 5 years ago

@joanconquerlee Hi, I tried to download images, but I cannot even download one images. Do i need to modify some codes, such as urllib?

JudyYe commented 4 years ago

It is the problem of Imagenet maintenance. Please direct to ImageNet team. I am afraid I cannot help y'all right now.
I'm closing this issue.

JudyYe commented 3 years ago

Hi, just some updates. ImageNet official website seems back to life. https://image-net.org/