From c032ffb05a7ed86f8fe5d596f94e8997c558cae8 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Wed, 28 Jul 2021 15:14:55 +0200 Subject: Reformatting with attrs, config for encoder and decoder --- training/conf/criterion/label_smoothing.yaml | 0 training/conf/criterion/mse.yaml | 5 ++--- 2 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 training/conf/criterion/label_smoothing.yaml (limited to 'training/conf/criterion') diff --git a/training/conf/criterion/label_smoothing.yaml b/training/conf/criterion/label_smoothing.yaml new file mode 100644 index 0000000..e69de29 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 -- cgit v1.2.3-70-g09d2