-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
AttributeError: module 'tree' has no attribute 'map_structure' #5455
Comments
The error message indicates that the tree module does not have the map_structure attribute. This could happen if tree is not properly installed or if there’s an incompatible version. Here’s a step-by-step approach to help resolve this issue:
try:
|
I have the exact problem. Turns out there is |
|
/!\ PLEASE INCLUDE THE FULL STACKTRACE AND CODE SNIPPET
Short description
Description of the bug.
Environment information
Operating System: Windows 10
Python version: Python 3.12.4
tensorflow-datasets
/tfds-nightly
tensorflow-datasets / version: Version: 4.9.6tensorflow
/tf-nightly
version: tensorflow / Version: 2.16.1Does the issue still exists with the last
tfds-nightly
package (pip install --upgrade tfds-nightly
) ?Yes
Reproduction instructions
load any dataset
Stacktrace
The text was updated successfully, but these errors were encountered: