From f473456c19558aaf8552df97a51d4e18cc69dfa8 Mon Sep 17 00:00:00 2001 From: aktersnurra Date: Wed, 22 Jul 2020 23:18:08 +0200 Subject: Working training loop and testing of trained CharacterModel. --- .../0721_183347/config.yml | 46 +++++++++++++++++++++ .../0721_183347/model/best.pt | Bin 0 -> 1702114 bytes .../0721_183347/model/last.pt | Bin 0 -> 1702114 bytes 3 files changed, 46 insertions(+) create mode 100644 src/training/experiments/CharacterModel_Emnist_MLP/0721_183347/config.yml create mode 100644 src/training/experiments/CharacterModel_Emnist_MLP/0721_183347/model/best.pt create mode 100644 src/training/experiments/CharacterModel_Emnist_MLP/0721_183347/model/last.pt (limited to 'src/training/experiments/CharacterModel_Emnist_MLP/0721_183347') diff --git a/src/training/experiments/CharacterModel_Emnist_MLP/0721_183347/config.yml b/src/training/experiments/CharacterModel_Emnist_MLP/0721_183347/config.yml new file mode 100644 index 0000000..d2f98a2 --- /dev/null +++ b/src/training/experiments/CharacterModel_Emnist_MLP/0721_183347/config.yml @@ -0,0 +1,46 @@ +criterion: CrossEntropyLoss +criterion_args: + ignore_index: -100 + reduction: mean + weight: null +data_loader_args: + batch_size: 256 + cuda: true + num_workers: 0 + 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: OneCycleLR +lr_scheduler_args: + epochs: 16 + max_lr: 0.001 + steps_per_epoch: 1314 +metrics: +- accuracy +model: CharacterModel +network: MLP +network_args: + input_size: 784 + num_layers: 3 + output_size: 62 +optimizer: Adamax +optimizer_args: + betas: + - 0.9 + - 0.999 + eps: 1.0e-08 + lr: 0.01 + weight_decay: 0 +train_args: + batch_size: 256 + epochs: 16 + val_metric: accuracy diff --git a/src/training/experiments/CharacterModel_Emnist_MLP/0721_183347/model/best.pt b/src/training/experiments/CharacterModel_Emnist_MLP/0721_183347/model/best.pt new file mode 100644 index 0000000..6f09780 Binary files /dev/null and b/src/training/experiments/CharacterModel_Emnist_MLP/0721_183347/model/best.pt differ diff --git a/src/training/experiments/CharacterModel_Emnist_MLP/0721_183347/model/last.pt b/src/training/experiments/CharacterModel_Emnist_MLP/0721_183347/model/last.pt new file mode 100644 index 0000000..3bb103e Binary files /dev/null and b/src/training/experiments/CharacterModel_Emnist_MLP/0721_183347/model/last.pt differ -- cgit v1.2.3-70-g09d2