ImanAmran commited on
Commit
f0679c3
·
1 Parent(s): d301064

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -7
app.py CHANGED
@@ -1,7 +1,9 @@
1
- # example of loading the keras facenet model
2
- from keras.models import load_model
3
- # load the model
4
- model = load_model('facenet_keras.h5')
5
- # summarize input and output shape
6
- print(model.inputs)
7
- print(model.outputs)
 
 
 
1
+ from tensorflow.keras.models import load_model
2
+
3
+ # Replace 'final_siamese_network.h5' with the path to your saved model
4
+ loaded_siamese_network = load_model('final_siamese_network.h5')
5
+
6
+ loaded_siamese_network.summary()
7
+
8
+ print("Input shape:", loaded_siamese_network.input_shape)
9
+ print("Output shape:", loaded_siamese_network.output_shape)