Open
@ducha-aiki

Description

🐛 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://.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