Skip to content

PhotoTourDataset is no longer available #8960

Open
@ducha-aiki

Description

@ducha-aiki

🐛 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions