summaryrefslogtreecommitdiff
path: root/training/conf/criterion
diff options
context:
space:
mode:
Diffstat (limited to 'training/conf/criterion')
-rw-r--r--training/conf/criterion/label_smoothing.yaml0
-rw-r--r--training/conf/criterion/mse.yaml5
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