Skip to content

Commit

Permalink
Changed default save frequency advances #17
Browse files Browse the repository at this point in the history
  • Loading branch information
pab1s committed May 28, 2024
1 parent 7abf4f9 commit b3a1779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion callbacks/checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Checkpoint(Callback):
verbose (bool, optional): Whether to print the checkpoint save path. Default is False.
"""

def __init__(self, checkpoint_dir, model, optimizer, scheduler=None, save_freq=1, verbose=False):
def __init__(self, checkpoint_dir, model, optimizer, scheduler=None, save_freq=5, verbose=False):
self.checkpoint_dir = checkpoint_dir
self.model = model
self.optimizer = optimizer
Expand Down

0 comments on commit b3a1779

Please sign in to comment.