tensorflow: Saving custom tensor fails
Hello everyone,
There is a bug with saving and loading of custom tensors (variables) in TF. It was discovered at https://github.com/GPflow/GPflow/issues/1127. I have created the MWE in colab here. There are two errors when tf.save_model applies to custom tensors:
- The loading for custom tensor (variable) restores broken tf.Variable object
- Saving of tf.Module with custom tensors (variables) fails
Details in colab notebook
PS: referencing @alextp and @dynamicwebpaige, because they know what I mean by custom tensor.
Thanks, Artem
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 5
- Comments: 15 (5 by maintainers)
Pinging @rohan100jain for FYI on something that might need a priority bump