summaryrefslogtreecommitdiff
path: root/training/conf/criterion/label_smoothing.yaml
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-07-29 23:59:52 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-07-29 23:59:52 +0200
commit34098ccbbbf6379c0bd29a987440b8479c743746 (patch)
treea8c68e3036503049fc7034c677ec855465f7a8e0 /training/conf/criterion/label_smoothing.yaml
parentc032ffb05a7ed86f8fe5d596f94e8997c558cae8 (diff)
Configs, refactor with attrs, fix attr bug in iam
Diffstat (limited to 'training/conf/criterion/label_smoothing.yaml')
-rw-r--r--training/conf/criterion/label_smoothing.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/training/conf/criterion/label_smoothing.yaml b/training/conf/criterion/label_smoothing.yaml
index e69de29..ee47c59 100644
--- a/training/conf/criterion/label_smoothing.yaml
+++ b/training/conf/criterion/label_smoothing.yaml
@@ -0,0 +1,4 @@
+_target_: text_recognizer.criterion.label_smoothing
+label_smoothing: 0.1
+vocab_size: 1006
+ignore_index: 1002