Skip to content

Commit c6a2103

Browse files
committed
update config
1 parent c4713a3 commit c6a2103

2 files changed

Lines changed: 12 additions & 6 deletions

File tree

configs/callbacks/default.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
defaults:
22
- model_checkpoint
3-
# - early_stopping
3+
- early_stopping
44
- model_summary
55
- rich_progress_bar
66
- _self_
@@ -13,10 +13,10 @@ model_checkpoint:
1313
save_last: True
1414
auto_insert_metric_name: False
1515

16-
# early_stopping:
17-
# monitor: "val/loss"
18-
# patience: 100
19-
# mode: "min"
16+
early_stopping:
17+
monitor: "val/loss"
18+
patience: 10
19+
mode: "min"
2020

2121
model_summary:
2222
max_depth: -1

configs/experiment/modl.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ seed: 12345
1919

2020
trainer:
2121
min_epochs: 10
22-
max_epochs: 50
22+
max_epochs: 20
2323
gradient_clip_val: 0.5
2424
num_sanity_val_steps: 0
2525

@@ -39,3 +39,9 @@ logger:
3939
name: "${now:%Y-%m-%d}_${now:%H-%M-%S}"
4040
# id: null # pass correct id to resume experiment! (if ckpt_path is not null)
4141

42+
callbacks:
43+
model_checkpoint:
44+
monitor: "train/loss"
45+
46+
early_stopping:
47+
monitor: "train/loss"

0 commit comments

Comments
 (0)