diff options
author | aktersnurra <gustaf.rydholm@gmail.com> | 2020-07-22 23:18:08 +0200 |
---|---|---|
committer | aktersnurra <gustaf.rydholm@gmail.com> | 2020-07-22 23:18:08 +0200 |
commit | f473456c19558aaf8552df97a51d4e18cc69dfa8 (patch) | |
tree | 0d35ce2410ff623ba5fb433d616d95b67ecf7a98 /src/training/experiments/CharacterModel_Emnist_MLP/0721_191412 | |
parent | ad3bd52530f4800d4fb05dfef3354921f95513af (diff) |
Working training loop and testing of trained CharacterModel.
Diffstat (limited to 'src/training/experiments/CharacterModel_Emnist_MLP/0721_191412')
-rw-r--r-- | src/training/experiments/CharacterModel_Emnist_MLP/0721_191412/config.yml | 42 | ||||
-rw-r--r-- | src/training/experiments/CharacterModel_Emnist_MLP/0721_191412/model/best.pt | bin | 0 -> 1135058 bytes | |||
-rw-r--r-- | src/training/experiments/CharacterModel_Emnist_MLP/0721_191412/model/last.pt | bin | 0 -> 1135058 bytes |
3 files changed, 42 insertions, 0 deletions
diff --git a/src/training/experiments/CharacterModel_Emnist_MLP/0721_191412/config.yml b/src/training/experiments/CharacterModel_Emnist_MLP/0721_191412/config.yml new file mode 100644 index 0000000..0b9b10e --- /dev/null +++ b/src/training/experiments/CharacterModel_Emnist_MLP/0721_191412/config.yml @@ -0,0 +1,42 @@ +criterion: CrossEntropyLoss +criterion_args: + ignore_index: -100 + reduction: mean + weight: null +data_loader_args: + batch_size: 256 + cuda: true + num_workers: 1 + sample_to_balance: true + seed: 4711 + shuffle: true + splits: + - train + - val + subsample_fraction: null + target_transform: null + transform: null +dataloader: EmnistDataLoader +device: cuda:0 +experiment_group: Sample Experiments +lr_scheduler: null +metrics: +- accuracy +model: CharacterModel +network: MLP +network_args: + input_size: 784 + num_layers: 3 + output_size: 62 +optimizer: RMSprop +optimizer_args: + alpha: 0.9 + centered: false + eps: 1.0e-07 + lr: 0.001 + momentum: 0 + weight_decay: 0 +train_args: + batch_size: 256 + epochs: 16 + val_metric: accuracy diff --git a/src/training/experiments/CharacterModel_Emnist_MLP/0721_191412/model/best.pt b/src/training/experiments/CharacterModel_Emnist_MLP/0721_191412/model/best.pt Binary files differnew file mode 100644 index 0000000..2fb0195 --- /dev/null +++ b/src/training/experiments/CharacterModel_Emnist_MLP/0721_191412/model/best.pt diff --git a/src/training/experiments/CharacterModel_Emnist_MLP/0721_191412/model/last.pt b/src/training/experiments/CharacterModel_Emnist_MLP/0721_191412/model/last.pt Binary files differnew file mode 100644 index 0000000..2fb0195 --- /dev/null +++ b/src/training/experiments/CharacterModel_Emnist_MLP/0721_191412/model/last.pt |