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.yaml5
1 files changed, 2 insertions, 3 deletions
diff --git a/training/conf/criterion/label_smoothing.yaml b/training/conf/criterion/label_smoothing.yaml
index 13daba8..684b5bb 100644
--- a/training/conf/criterion/label_smoothing.yaml
+++ b/training/conf/criterion/label_smoothing.yaml
@@ -1,4 +1,3 @@
-_target_: text_recognizer.criterion.label_smoothing.LabelSmoothingLoss
-label_smoothing: 0.1
-vocab_size: 1006
+_target_: text_recognizer.criterions.label_smoothing.LabelSmoothingLoss
+smoothing: 0.1
ignore_index: 1002