-
Notifications
You must be signed in to change notification settings - Fork 74.2k
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
Saving custom tensor fails #34908
Comments
@k-w-w as far as I can tell those module-visible variables should be correctly handled by savedmodel. Do you know what is going on here? |
This is an interesting use case. SavedModel should be correctly handling this, but we hadn't considered this case yet. I'll see what changes are required to resolve the issue. |
Pinging @rohan100jain for FYI on something that might need a priority bump |
@alextp thanks! |
@alextp any idea when this might be fixed? |
@ccrusius FYI |
Hi, Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base. The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate. Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space. |
This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you. |
This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further. |
Hello everyone,
There is a bug with saving and loading of custom tensors (variables) in TF. It was discovered at GPflow/GPflow#1127. I have created the MWE in colab here. There are two errors when
tf.save_model
applies to custom tensors:Details in colab notebook
PS: referencing @alextp and @dynamicwebpaige, because they know what I mean by custom tensor.
Thanks,
Artem
The text was updated successfully, but these errors were encountered: