Skip to content

Commit

Permalink
fix: saving the model at the end of each epoch (#547)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelLarkin authored Sep 18, 2024
1 parent 3a36240 commit eb460a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions everyvoice/base_cli/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ def train_base_command(
every_n_train_steps=config.training.ckpt_steps,
every_n_epochs=config.training.ckpt_epochs,
enable_version_counter=True,
save_on_train_epoch_end=True,
)
# This callback will only save the top-k checkpoints
# based on minimization of the monitored loss
Expand Down

0 comments on commit eb460a2

Please sign in to comment.