Skip to content

Commit

Permalink
change monitor to max val psnr
Browse files Browse the repository at this point in the history
  • Loading branch information
kwea123 committed Jan 24, 2021
1 parent 0ceedc7 commit 0dd5de2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions train.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ def main(hparams):
checkpoint_callback = \
ModelCheckpoint(filepath=os.path.join(f'ckpts/{hparams.exp_name}',
'{epoch:d}'),
monitor='val/loss',
mode='min',
monitor='val/psnr',
mode='max',
save_top_k=5)

logger = TestTubeLogger(save_dir="logs",
Expand Down

0 comments on commit 0dd5de2

Please sign in to comment.