tensorflow / tensorflow/datasets
radon dataset BASE_URL has changed - downloading fails with 403 redirect
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 1.6k
- Avg merge
- 3h 54m
- Merged PRs (30d)
- 1
Description
Short description
The location (BASE_URL) of this dataset has changed. When attempting to use the 'Radon' dataset: download fails on a 403 redirect.
Environment information
-
Operating System: Windows 11 (but should fail on all OSes)
-
Python version: 3.13
-
tensorflow-datasetsversion: 4.9.9 -
tensorflowversion: 2.20.0 -
Does the issue still exists with the last
tfds-nightlypackage (pip install --upgrade tfds-nightly) ? YES
Reproduction instructions
import tensorflow as tf
import tensorflow_datasets as tfds
data = tfds.load('radon', split='train', as_supervised=True)
If you share a colab, make sure to update the permissions to share it.
Link to logs
(https://gist.github.com/nanderoo/dab2f4b73832cafcbf9306669d8978c1)
Expected behavior
Dataset is downloaded and cached for future use.
Additional context
Encountered this while running a jupyter notebook example, but the error can be reproduced by simple python cli as well. I was able to work around this by manually updating the BASE_URL on line 31 for the Radon Dataset ~/lib/site-packages/tensorflow_datasets/datasets/radon/radon_dataset_builder.py to be: https://sites.stat.columbia.edu/gelman/arm/examples/radon/ which is where the 403 redirect takes you to now.
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 with the Radon dataset builder in radon_dataset_builder.py and inspect the BASE_URL around line 31. Reproduce the failure with the provided tfds.load('radon', split='train', as_supervised=True) example, update the dataset location to the working URL, and confirm the dataset downloads and is cached successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, tensorflow
- Domain
- data
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100