Skip to content

Commit 6202781

Browse files
authored
Merge pull request #2 from CCInc/conf/trainer
update
2 parents c9d96bf + b0c9829 commit 6202781

File tree

23 files changed

+279
-75
lines changed

23 files changed

+279
-75
lines changed

conf/config.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
defaults:
2+
- task: ???
3+
- models: ???
4+
- data: ???
5+
- training: default
6+
- trainer: default
7+
8+
job_name: benchmark
9+
model_name: ???
10+
update_lr_scheduler_on: "on_epoch" # ["on_epoch", "on_num_batch", "on_num_sample"]
11+
selection_stage: ""
12+
pretty_print: False
13+
eval_frequency: 1
14+
15+
tracker_options:
16+
# Extra options for the tracker
17+
full_res: False
18+
make_submission: False
19+
track_boxes: False
File renamed without changes.
File renamed without changes.

conf/lr_scheduler/cosine.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# @package _group_
2+
class: CosineAnnealingLR
3+
params:
4+
T_max: 10

conf/lr_scheduler/cyclic.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# @package _group_
2+
class: CyclicLR
3+
params:
4+
base_lr: ${training.optim.base_lr}
5+
max_lr: 0.1

conf/lr_scheduler/exponential.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# @package _group_
2+
class: ExponentialLR
3+
params:
4+
gamma: 0.9885 # = 0.1**(1/200.) divide by 10 every 200 epochs

conf/lr_scheduler/multi_step.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# @package _group_
2+
class: MultiStepLR
3+
params:
4+
milestones: [80,120,160]
5+
gamma: 0.2
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# @package _group_
2+
class: MultiStepLR
3+
params:
4+
milestones: [600, 1200, 1800, 3000]
5+
gamma: 0.5

conf/lr_scheduler/plateau.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# @package _group_
2+
class: ReduceLROnPlateau
3+
params:
4+
mode: "min"

0 commit comments

Comments
 (0)