Spaces:
Runtime error
Runtime error
NORLIE JHON MALAGDAO
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -213,7 +213,7 @@ pretrained_model = tf.keras.applications.efficientnet_v2.EfficientNetV2L(
|
|
213 |
pretrained_model.trainable = False
|
214 |
|
215 |
# Create checkpoint callback
|
216 |
-
checkpoint_path = "pests_cats_classification_model_checkpoint"
|
217 |
checkpoint_callback = ModelCheckpoint(checkpoint_path,
|
218 |
save_weights_only=True,
|
219 |
monitor="val_accuracy",
|
|
|
213 |
pretrained_model.trainable = False
|
214 |
|
215 |
# Create checkpoint callback
|
216 |
+
checkpoint_path = "pests_cats_classification_model_checkpoint.weights.h5"
|
217 |
checkpoint_callback = ModelCheckpoint(checkpoint_path,
|
218 |
save_weights_only=True,
|
219 |
monitor="val_accuracy",
|