Replies: 2 comments
-
You will need to load the Keras model again with the metric as a custom_object. |
Beta Was this translation helpful? Give feedback.
0 replies
-
from tensorflow.keras.utils import CustomObjectScope This block of code works for me, with r2 being the custom metrics function. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wrote as following code :
But, this code print following message.
I want to know how to export a model with custom metric.
Beta Was this translation helpful? Give feedback.
All reactions