summaryrefslogtreecommitdiff
path: root/training/conf/model
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-06-10 00:36:51 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-06-10 00:36:51 +0200
commit8177b5210fbbe11bd361dedbd5b4a4e1950bdb2e (patch)
tree2ee53ffbd9569390c45cbeb3ab9a1db361152874 /training/conf/model
parent7eb0002f599367a5b9a80374c89e08d7a93d6a1b (diff)
Update configs
Diffstat (limited to 'training/conf/model')
-rw-r--r--training/conf/model/lit_transformer.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/training/conf/model/lit_transformer.yaml b/training/conf/model/lit_transformer.yaml
index 5172533..c1491ec 100644
--- a/training/conf/model/lit_transformer.yaml
+++ b/training/conf/model/lit_transformer.yaml
@@ -1,5 +1,8 @@
-_target_: text_recognizer.models.transformer.TransformerLitModel
+_target_: text_recognizer.models.LitTransformer
max_output_len: 682
start_token: <s>
end_token: <e>
pad_token: <p>
+mapping:
+ _target_: text_recognizer.data.mappings.EmnistMapping
+ extra_symbols: ["\n"]