Closed cfRod closed 1 year ago
@cfRod You need to be using the latest versions of keras-nightly, tb-nightly and tf-estimator-nightly instead of keras, tensorboard and tensorflow-estimator. The released versions are not compatible with current TensorFlow master.
Thanks @elfringham ,
I was able to import tensorflow_hub now. I do have another message that has cropped up with absl
ERROR:absl:Unable to load fingerprint when loading saved model.
Traceback (most recent call last):
File "/home/ubuntu/python3-venv/lib/python3.10/site-packages/tensorflow/python/saved_model/load.py", line 1015, in load_partial
fingerprint = fingerprinting.read_fingerprint(export_dir)
File "/home/ubuntu/python3-venv/lib/python3.10/site-packages/tensorflow/python/saved_model/fingerprinting.py", line 172, in read_fingerprint
raise FileNotFoundError(f"SavedModel Fingerprint Error: {e}") from None # pylint: disable=raise-missing-from
FileNotFoundError: SavedModel Fingerprint Error: Could not read fingerprint from directory: /tmp/tfhub_modules/1a05e7638ff9b16c4dece6468cb6cd6ec4173fd1
@cfRod,
Can you try installing tensorflow and tensorflow_hub as shown here. I tried the same setup and was able to import tensorflow_hub
without any errors. Thanks!
!pip install tf-nightly
!pip install --upgrade tf-hub-nightly
Hi @cfRod The message you're seeing is just a log message. Can you confirm that you were still able to load the model?
Hi both, yes I can still load the model.
@cfRod, Thank you for the confirmation. Requesting you to close this issue if your issue is resolved.
Closing this due to inactivity. Please take a look into the answers provided above, feel free to reopen and post your comments(if you still have queries on this). Thank you!
What happened?
I am trying to import tensorflow_hub with the latest tensorflow master (2.13) to run benchmarks and do some testing but It is missing "_to_proto_fn " attributed that was recently removed from TensorFlow master https://github.com/tensorflow/tensorflow/commit/1daec110903211cfc8a320485d383e2a04b67372
Relevant code
Relevant log output
tensorflow_hub Version
0.13.0.dev (unstable development build)
TensorFlow Version
other (please specify)
Other libraries
tensorflow 2.13.0
Python Version
3.x
OS
Linux