Spaces:
Sleeping
Sleeping
okeowo1014
commited on
Commit
•
98da3ab
1
Parent(s):
da40e62
Update train.py
Browse files
train.py
CHANGED
@@ -89,7 +89,7 @@ print('Test accuracy:', test_acc)
|
|
89 |
# Export the model for Hugging Face Hub using tf.saved_model.save()
|
90 |
export_dir = 'saved_model' # Create a directory for the SavedModel
|
91 |
tf.saved_model.save(model, export_dir)
|
92 |
-
Save model weights to local directory
|
93 |
# model.save_pretrained("kerascatanddog")
|
94 |
|
95 |
# Upload the model to your Hugging Face space repository
|
|
|
89 |
# Export the model for Hugging Face Hub using tf.saved_model.save()
|
90 |
export_dir = 'saved_model' # Create a directory for the SavedModel
|
91 |
tf.saved_model.save(model, export_dir)
|
92 |
+
# Save model weights to local directory
|
93 |
# model.save_pretrained("kerascatanddog")
|
94 |
|
95 |
# Upload the model to your Hugging Face space repository
|