-
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
Unable to import tfds with tensorflow 2.12 #4858
Comments
I'm having the same problem with a lot of students in my class. If anyone finds a workaround, please do share it 🙏 Thanks! |
Hi, sorry for the inconvenience, we're working on a fix. Could you try |
we got some builds failing due to |
I solved it by installing the tfds-nightly and |
yes, this seems to be the workaround |
Unfortunately this is not a great workaround. |
I have the same problem wth I believe the correct fix would be to change the At least that resolved the issue for me in the GradientAccumulator project. |
We published a new release, could you please confirm that it works for you? |
|
No, it doesn't work.
tensorfow-2.11.0 requires protobuf<3.20,>=3.9.2 |
I'm on tf 2.10 (for cuda on windows) and solved it by installing tf-metadata 1.13.0 first, which does not need newer protobuf. Then, I used an old version of tf-datasets which also does not need newer protobuf. so it was:
|
so tf datasets could in theory solve this by changing its requirements to tf-metadata <= 1.13.0 for its older versions such that the protobuf-requirements align in the end and then perhaps it can even be made so when you just pip install the package it will choose the right one for the installed tf version? |
dataset, info = tfds.load('imdb_reviews/subwords8k', with_info=True, as_supervised=True) Failed to construct dataset imdb_reviews: Message type "tensorflow_datasets.DatasetInfo" has no field named "releaseNotes". tensorflow=2.10 |
Short description
Unable to import tfds
Environment information
Operating System:
Python version:
tensorflow-datasets
/tfds-nightly
version: tensorflow-datasets==4.9.1tensorflow
/tf-nightly
version: tensorflow==2.12.0Does the issue still exists with the last
tfds-nightly
package (pip install --upgrade tfds-nightly
) ?Reproduction instructions
The text was updated successfully, but these errors were encountered: