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
May I get the input and output layer names of each layer in the model? I want to use tf.keras.models.load_model to change SavedModel into Keras. However, something's wrong. It mentions that Unable to restore a layer of class SlicingOpLambda. Layers of class SlicingOpLambda require that the class be provided to the model loading code, either by registering the class using @keras.utils.register_keras_serializable on the class def and including that file in your program, or by passing the class in a keras.utils.CustomObjectScope that wraps this load call. OR are there any other solutions?
The text was updated successfully, but these errors were encountered:
May I get the input and output layer names of each layer in the model? I want to use
tf.keras.models.load_model
to change SavedModel into Keras. However, something's wrong. It mentions thatUnable to restore a layer of class SlicingOpLambda. Layers of class SlicingOpLambda require that the class be provided to the model loading code, either by registering the class using @keras.utils.register_keras_serializable on the class def and including that file in your program, or by passing the class in a keras.utils.CustomObjectScope that wraps this load call.
OR are there any other solutions?The text was updated successfully, but these errors were encountered: