pytorch / pytorch/vision

PhotoTourDataset is no longer available

Open
#8,960 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
17.9k
Forks
7.3k
Avg merge
1d 15h
Merged PRs (30d)
13

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in torchvision/datasets/phototour.py at the three PhotoTour download URLs named in the issue. Check suitable mirror URLs for liberty, notredame, and yosemite, then verify that the existing download path can retrieve each dataset without the reported URLError. Done means PhotoTour can download all three datasets from accessible URLs.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.