Skip to content

Commit

Permalink
💾Save Model in HDF5
Browse files Browse the repository at this point in the history
  • Loading branch information
brianlechthaler committed Sep 13, 2021
1 parent 5852289 commit 24de4a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,6 @@ model.fit(
callbacks=callbacks,
validation_data=val_ds)

# Save our model for later use.
model.save(join('dataset',model_name))
model.save(join('dataset',
f"{model_name}.h5"))
```
3 changes: 2 additions & 1 deletion example.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,5 @@
validation_data=val_ds)

# Save our model for later use.
model.save(join('dataset',model_name))
model.save(join('dataset',
f"{model_name}.h5"))

0 comments on commit 24de4a5

Please sign in to comment.