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
While running test.py file I am getting the following error. raise ValueError('Unknown ' + printable_module_name + ': ' + class_name) ValueError: Unknown layer: ManhattanDistance
Can you help me what I am doing wrong??
The text was updated successfully, but these errors were encountered:
Try this.
In the updated API, now you have pass the Custom Objects with a scope.
with tf.keras.utils.CustomObjectScope({'ManhattanDistance': ManhattanDistance}):
model = tf.keras.models.load_model(os.path.join(ROOT_PATH, 'model/siamese-lstm-weights.h5'))
While running test.py file I am getting the following error.
raise ValueError('Unknown ' + printable_module_name + ': ' + class_name) ValueError: Unknown layer: ManhattanDistance
Can you help me what I am doing wrong??
The text was updated successfully, but these errors were encountered: