diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-07-28 15:14:55 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-07-28 15:14:55 +0200 |
commit | c032ffb05a7ed86f8fe5d596f94e8997c558cae8 (patch) | |
tree | bf890ffd4c815db7d510cfb281d253b5728f70c6 /training/conf/criterion | |
parent | 524bf4351ac295bd4ff9914bb1f32eda7f7ff855 (diff) |
Reformatting with attrs, config for encoder and decoder
Diffstat (limited to 'training/conf/criterion')
-rw-r--r-- | training/conf/criterion/label_smoothing.yaml | 0 | ||||
-rw-r--r-- | training/conf/criterion/mse.yaml | 5 |
2 files changed, 2 insertions, 3 deletions
diff --git a/training/conf/criterion/label_smoothing.yaml b/training/conf/criterion/label_smoothing.yaml new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/training/conf/criterion/label_smoothing.yaml diff --git a/training/conf/criterion/mse.yaml b/training/conf/criterion/mse.yaml index 4d89cbc..ffd1403 100644 --- a/training/conf/criterion/mse.yaml +++ b/training/conf/criterion/mse.yaml @@ -1,3 +1,2 @@ -type: MSELoss -args: - reduction: mean +_target_: torch.nn.MSELoss +reduction: mean |