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_LeNet | |
parent | ad3bd52530f4800d4fb05dfef3354921f95513af (diff) |
Working training loop and testing of trained CharacterModel.
Diffstat (limited to 'src/training/experiments/CharacterModel_Emnist_LeNet')
-rw-r--r-- | src/training/experiments/CharacterModel_Emnist_LeNet/0721_231455/config.yml | 48 | ||||
-rw-r--r-- | src/training/experiments/CharacterModel_Emnist_LeNet/0721_231455/model/best.pt | bin | 0 -> 14483400 bytes | |||
-rw-r--r-- | src/training/experiments/CharacterModel_Emnist_LeNet/0721_231455/model/last.pt | bin | 0 -> 14483400 bytes | |||
-rw-r--r-- | src/training/experiments/CharacterModel_Emnist_LeNet/0722_190746/config.yml | 48 | ||||
-rw-r--r-- | src/training/experiments/CharacterModel_Emnist_LeNet/0722_190746/model/best.pt | bin | 0 -> 14483400 bytes | |||
-rw-r--r-- | src/training/experiments/CharacterModel_Emnist_LeNet/0722_190746/model/last.pt | bin | 0 -> 14483400 bytes |
6 files changed, 96 insertions, 0 deletions
diff --git a/src/training/experiments/CharacterModel_Emnist_LeNet/0721_231455/config.yml b/src/training/experiments/CharacterModel_Emnist_LeNet/0721_231455/config.yml new file mode 100644 index 0000000..2595325 --- /dev/null +++ b/src/training/experiments/CharacterModel_Emnist_LeNet/0721_231455/config.yml @@ -0,0 +1,48 @@ +criterion: CrossEntropyLoss +criterion_args: + ignore_index: -100 + reduction: mean + weight: null +data_loader_args: + batch_size: 256 + cuda: true + num_workers: 8 + 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: LeNet +network_args: + input_size: + - 28 + - 28 + output_size: 62 +optimizer: AdamW +optimizer_args: + amsgrad: false + 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_LeNet/0721_231455/model/best.pt b/src/training/experiments/CharacterModel_Emnist_LeNet/0721_231455/model/best.pt Binary files differnew file mode 100644 index 0000000..6d78bad --- /dev/null +++ b/src/training/experiments/CharacterModel_Emnist_LeNet/0721_231455/model/best.pt diff --git a/src/training/experiments/CharacterModel_Emnist_LeNet/0721_231455/model/last.pt b/src/training/experiments/CharacterModel_Emnist_LeNet/0721_231455/model/last.pt Binary files differnew file mode 100644 index 0000000..6d78bad --- /dev/null +++ b/src/training/experiments/CharacterModel_Emnist_LeNet/0721_231455/model/last.pt diff --git a/src/training/experiments/CharacterModel_Emnist_LeNet/0722_190746/config.yml b/src/training/experiments/CharacterModel_Emnist_LeNet/0722_190746/config.yml new file mode 100644 index 0000000..2595325 --- /dev/null +++ b/src/training/experiments/CharacterModel_Emnist_LeNet/0722_190746/config.yml @@ -0,0 +1,48 @@ +criterion: CrossEntropyLoss +criterion_args: + ignore_index: -100 + reduction: mean + weight: null +data_loader_args: + batch_size: 256 + cuda: true + num_workers: 8 + 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: LeNet +network_args: + input_size: + - 28 + - 28 + output_size: 62 +optimizer: AdamW +optimizer_args: + amsgrad: false + 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_LeNet/0722_190746/model/best.pt b/src/training/experiments/CharacterModel_Emnist_LeNet/0722_190746/model/best.pt Binary files differnew file mode 100644 index 0000000..43a3891 --- /dev/null +++ b/src/training/experiments/CharacterModel_Emnist_LeNet/0722_190746/model/best.pt diff --git a/src/training/experiments/CharacterModel_Emnist_LeNet/0722_190746/model/last.pt b/src/training/experiments/CharacterModel_Emnist_LeNet/0722_190746/model/last.pt Binary files differnew file mode 100644 index 0000000..61c03f0 --- /dev/null +++ b/src/training/experiments/CharacterModel_Emnist_LeNet/0722_190746/model/last.pt |