forked from catalyst-team/catalyst
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config2.yml
48 lines (39 loc) · 908 Bytes
/
config2.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
model_params:
model: SimpleNet
args:
expdir: "_tests_cv_classification"
logdir: "./logs/cv_classification"
stages:
data_params:
batch_size: 64
num_workers: 0
stage_params:
main_metric: &reduced_metric accuracy01
minimize_metric: False
criterion_params:
criterion: CrossEntropyLoss
optimizer_params:
optimizer: Adam
lr: 0.001
weight_decay: 0.0001
scheduler_params:
scheduler: MultiStepLR
milestones: [1]
gamma: 0.3
stage1:
stage_params:
num_epochs: 100
callbacks_params:
loss:
callback: CriterionCallback
optimizer:
callback: OptimizerCallback
accuracy:
callback: AccuracyCallback
accuracy_args: [1, 3, 5]
scheduler:
callback: SchedulerCallback
reduced_metric: *reduced_metric
saver:
callback: CheckpointCallback
save_n_best: 3