tensorflow / tensorflow/datasets
tfds url error with imagenet_resized
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 1.6k
- Avg merge
- 3h 54m
- Merged PRs (30d)
- 1
Description
There is a problem with the url of imagenet_resized, I am running on a colab notebook with this code:
import tensorflow as tf
import tensorflow_datasets as tfds
imagenet_origin = tfds.load(name="imagenet_resized", split="train", data_dir="~/tensorflow_datasets")
This gives an error:
/usr/local/lib/python3.7/dist-packages/tensorflow_datasets/core/download/downloader.py in _assert_status(response)
257 **kwargs: Additional kwargs to forward torequest.get.
258
--> 259 Returns:
260 response: The url response with.urland.headerattributes.
261 iter_content: Abytesiterator which yield the content.
DownloadError: Failed to get url https://image-net.org/image/downsample/Imagenet64_train_part1_npz.zip. HTTP code: 404.
Instead of https://image-net.org/image/downsample/Imagenet64_train_part1_npz.zip,
I think the correct url should be: https://image-net.org/data/downsample/Imagenet64_train_part1_npz.zip
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with the provided tfds.load call for imagenet_resized and inspect the dataset's download URL configuration. Verify that the Imagenet64 archive is available at the proposed /data/downsample path, then confirm that the dataset downloads successfully without the 404 error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- machine-learning, python
- Domain
- data, machine-learning
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 58/100