Skip to content

Commit

Permalink
update anything
Browse files Browse the repository at this point in the history
  • Loading branch information
quqixun committed Jan 28, 2023
1 parent 6d1d4f6 commit 524fe91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configs/swin_unetr/exp1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ loader:
trainer:
epochs: 100
accum_iter: 1
ckpt_freq: 10
ckpt_freq: 100
print_freq: 200
early_stop: 20

Expand Down
2 changes: 1 addition & 1 deletion libs/train/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def forward(self, train_loader, val_loader):

if self.early_stop is not None:
if epoch - prev_best_epoch >= self.early_stop:
print('- Early Stopping Since Last Best Val epoch')
print('- Early Stopping Since Last Best Val Epoch')
break

print(best_msg)
Expand Down

0 comments on commit 524fe91

Please sign in to comment.