summaryrefslogtreecommitdiff
path: root/src/training/experiments/sample.yml
blob: 0ed560d3b7c59466f9e117580c89e0a999a645cf (plain)
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
experiment_group: Sample Experiments
experiments:
    - dataloader: EmnistDataLoader
      model: CharacterModel
      metrics: [accuracy]
      network: MLP
      network_args:
        input_shape: 784
        num_layers: 2
      train_args:
        batch_size: 256
        epochs: 16
      criterion: CrossEntropyLoss
      criterion_args:
        weight: null
        ignore_index: -100
        reduction: mean
      optimizer: AdamW
      optimizer_args:
        lr: 3.e-4
        betas: [0.9, 0.999]
        eps: 1.e-08
        weight_decay: 0
        amsgrad: false
      lr_scheduler: OneCycleLR
      lr_scheduler_args:
        max_lr: 3.e-5
        epochs: 16
    # - dataloader: EmnistDataLoader
    #   model: CharacterModel
    #   network: MLP
    #   network_args:
    #     input_shape: 784
    #     num_layers: 4
    #   train_args:
    #     batch_size: 256
    # - dataloader: EmnistDataLoader
    #   model: CharacterModel
    #   network: LeNet
    #   network_args:
    #     input_shape: [28, 28]
    #   train_args:
    #     batch_size: 256