Spaces:
Sleeping
Sleeping
okeowo1014
commited on
Commit
•
b65427f
1
Parent(s):
300365a
Update train.py
Browse files
train.py
CHANGED
@@ -106,7 +106,7 @@ model.summary()
|
|
106 |
# token=sac,
|
107 |
# )
|
108 |
# Save the model with a valid extension (recommended: .h5)
|
109 |
-
model.save('cat_dog_classifierss.keras'
|
110 |
# tf.keras.models.save_model(model, 'cat_dog_classifierss.keras')
|
111 |
# Authenticate with Hugging Face (replace YOUR_TOKEN with your actual token)
|
112 |
# from huggingface_hub import hf_hub_auth
|
|
|
106 |
# token=sac,
|
107 |
# )
|
108 |
# Save the model with a valid extension (recommended: .h5)
|
109 |
+
model.save('cat_dog_classifierss.keras')
|
110 |
# tf.keras.models.save_model(model, 'cat_dog_classifierss.keras')
|
111 |
# Authenticate with Hugging Face (replace YOUR_TOKEN with your actual token)
|
112 |
# from huggingface_hub import hf_hub_auth
|