TensorFlow renames inputs when restoring/resaving SavedModel #50130
Labels
comp:apis
Highlevel API related issues
regression issue
To spot regression issues in latest version
stat:awaiting tensorflower
Status - Awaiting response from tensorflower
TF 2.5
Issues related to TF 2.5
type:bug
Bug
System information
Describe the current behavior
When a user restores a SavedModel and resaves it, TensorFlow renames the model inputs in the signature, prefixing them with
"inputs/"
. I'm not sure when this behavior was introduced (it happened non-deterministically intensorflow==2.4.1
, but is deterministic intensorflow==2.5.0
andtf-nightly
) or expected. I have a use case where I am constrained in my input names in the signature, although I can work around it if renaming is expected (and deterministic) so this issue is mainly to raise awareness if the renaming is unexpectedStandalone code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/Jupyter/any notebook.
Output:
The text was updated successfully, but these errors were encountered: