Skip to content

Commit

Permalink
Fix ModelCheckpoint monitor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
oadonca authored and beneisner committed May 24, 2024
1 parent 2ba0dce commit 3fca11d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/train_residual_flow_multimodal.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def setup_main(cfg):
ModelCheckpoint(
dirpath=cfg.lightning.checkpoint_dir,
filename="{epoch}-{step}-{train_loss:.2f}-weights-only",
monitor="val_loss",
monitor="val_loss/val_0",
mode="min",
save_weights_only=True,
),
Expand Down

0 comments on commit 3fca11d

Please sign in to comment.