Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PhotoTourDataset is no longer available #8960

Open
ducha-aiki opened this issue Mar 11, 2025 · 1 comment · May be fixed by #9002
Open

PhotoTourDataset is no longer available #8960

ducha-aiki opened this issue Mar 11, 2025 · 1 comment · May be fixed by #9002

Comments

@ducha-aiki
Copy link
Contributor

ducha-aiki commented Mar 11, 2025

🐛 Describe the bug

dset.PhotoTour can no longer download the data.

import torchvision.datasets as dset
a=dset.PhotoTour('.', 'liberty', download=True)

Results in

URLError: <urlopen error [Errno 8] nodename nor servname provided, or not known>

That is because the URLs are no longer accesible
https://github.com/pytorch/vision/blob/main/torchvision/datasets/phototour.py#L54

http://icvl.ee.ic.ac.uk/vbalnt/notredame.zip
http://icvl.ee.ic.ac.uk/vbalnt/liberty.zip
http://icvl.ee.ic.ac.uk/vbalnt/yosemite.zip

I will create a PR with mirror URLs

Versions

Does not depend on the version

@ducha-aiki
Copy link
Contributor Author

I have uploaded the zips here
https://cmp.felk.cvut.cz/~mishkdmy/datasets/BrownPhotoTour/

but the issue that I don't have original zips, only the images and labels themselves, so re-packed zips have different hashes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant