tensorflow / tensorflow/datasets
RecursionError using tfds.load to import tensorflow-dataset (Mac)
@pierrot0 is already working on this.
Since May 17, 2024.
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 1.6k
- Avg merge
- 3h 54m
- Merged PRs (30d)
- 1
Description
Short description
tfds.load function does not work properly.
Environment information
-
Operating System: Mac OS Sonoma 14.5 (tested also on Windows 11)
-
Python version: 3.12.3
-
tensorflow-datasetsversion: 4.9.4 -
tensorflowversion: 2.16.1 -
Does the issue still exists with the last
tfds-nightlypackage (pip install --upgrade tfds-nightly) ?
I don't know. This is the first version installed on my pc.
Reproduction instructions
import tensorflow as tf
import sklearn
import tensorflow_datasets as tfds
print(tf.__version__)
print(sklearn.__version__)
# Load the Iris dataset
(data), info = tfds.load('iris', with_info=True, split='train')
Link to logs
the log is in the attached file
log.docx
Expected behavior
What you expected to happen.
Additional context
The code is the same available in google documentation and inside the Google Cloud Machine Learning didactic materials from EICTA.
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.
Assessment
This issue has not been assessed yet.