Diff of /conf/training.yaml [000000] .. [f45789]

Switch to unified view

a b/conf/training.yaml
1
# Experiment config
2
task: training
3
experiments_dir: ./experiments
4
experiment_code: R50_00xxx
5
num_epochs: 10
6
7
# Get dataset and dataloaders
8
data:
9
  name: IHDataset
10
  path: ../data/windowed/
11
  classes: [noIH, IH]
12
  num_workers: 8
13
  batch_size: 32
14
15
# Initialize model
16
model:
17
  name: resnet50
18
  feature_extract: False #False, finetune the whole model. True, only update new layer params
19
  use_pretrained: True
20
  print_model: False
21
22
# Get optimizer
23
optimizer:
24
  name: SGD
25
  lr: 0.01
26
  momentum: 0.9
27
  weight_decay: 0.001
28
  print_params: False
29
30
# Get criterion
31
criterion:
32
  name: CrossEntropyLoss
33
34
# Get scheduler
35
scheduler:
36
  name: StepLR
37
  step_size: 2
38
  gamma: 0.6