You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When saving model, this error happened.
By reading Linq code, it seems like happening in TensorFlowNET.Keras.Engine.Layer.Serialize._trackable_children when concatenating model trackable with another trackable while they both have Key: keras_api
model trackable keys:
layer-0
layer-1
layer_with_weights-0
layer-2
keras_api
children keys:
non_trainable_variables
layers
variables
trainable_variables
keras_api
Reproduction Steps
load a keras pb model saved by python and save it immediately:
var model = keras.models.load_model(@"path");
model.summary();
model.save(@"path");