Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RecursionError using tfds.load to import tensorflow-dataset (Mac) #5417

Open
valeriogiampa opened this issue May 16, 2024 · 2 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@valeriogiampa
Copy link

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-datasets version: 4.9.4

  • tensorflow version: 2.16.1

  • Does the issue still exists with the last tfds-nightly package (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.

@valeriogiampa valeriogiampa added the bug Something isn't working label May 16, 2024
@pierrot0 pierrot0 self-assigned this May 17, 2024
@pierrot0
Copy link
Collaborator

Hi Valerio,

Would you mind sharing the stack-trace and error you are getting please?
The code you provided doesn't lead to any errors on my side.

I tested with both TFDS 4.9.4 and nightly.

Thanks,
Pierre

@valeriogiampa
Copy link
Author

I have uploaded the screenshot of the executed code using python and using Jupyter.

Log2.docx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants