-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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-datasets
version: 4.9.9 -
tensorflow
version: 2.20.0 -
Does the issue still exists with the last
tfds-nightly
package (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.