Skip to content
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

How to get the input and output layer names of each layer? #5

Open
CaryLee17 opened this issue Jul 15, 2023 · 0 comments
Open

How to get the input and output layer names of each layer? #5

CaryLee17 opened this issue Jul 15, 2023 · 0 comments

Comments

@CaryLee17
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant