Closed ppham27 closed 3 weeks ago
Have you tried replacing /
with __
?
If you're trying to work with mnist, you can pull it from the TensorFlow datasets catalog at https://www.tensorflow.org/datasets/catalog/overview :
python -c "import tensorflow_datasets as tfds; tfds.builder('mnist')"
works as well.
If you do need to pull a dataset from HuggingFace, consider using tfds.load(), and replace /
with __
.
Hope this could help
Short description
It seems the index (https://github.com/tensorflow/datasets/blob/751053fdb0f39cfc0d30797d3119b81306b91d5a/tensorflow_datasets/core/community/cache.py#L22) is out of date and hasn't been updated to use the hub: https://github.com/huggingface/datasets/pull/4059.
Environment information
tensorflow-datasets
/tfds-nightly
version:tfds-nightly
tensorflow
/tf-nightly
version: 2.16.1tfds-nightly
package (pip install --upgrade tfds-nightly
) ? Yes.Reproduction instructions
If you share a colab, make sure to update the permissions to share it.
Link to logs
Expected behavior
For it to work and call download_and_prepare.
Additional context
works.