-
Notifications
You must be signed in to change notification settings - Fork 39
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
Tensorflow warnings when using encode #56
Comments
I'll take a look. I think some of these originate in |
Interestingly, I checked locally under |
The deprecation warning related to |
While using the encode and decode methods of the wrapper class, I often get the error 'VaeWrapper' object has no attribute '_inference_server'. Is there some way to fix this? |
Are you loading the model as a context manager (as explained in the README) and only using the model inside of the context? with load_model_from_directory(model_dir) as model:
pass # Use the model inside
# Do not use the model outside The |
with load_model_from_directory(model_dir) as model:
embeddings = model.encode(smiles)
"WARNING:tensorflow:From ****\tensorflow\python\util\deprecation.py:576: calling function (from tensorflow.python.eager.polymorphic_function.polymorphic_function) with experimental_relax_shapes is deprecated and will be removed in a future version.
Instructions for updating:
experimental_relax_shapes is deprecated, use reduce_retracing instead"
and
"WARNING:tensorflow:Please fix your imports. Module tensorflow.python.training.tracking.data_structures has been moved to tensorflow.python.trackable.data_structures. The old module will be deleted in version 2.11."
I would like my scripts to not just stop working one day.
The text was updated successfully, but these errors were encountered: