summaryrefslogtreecommitdiff
path: root/training/conf/mapping
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-10-27 22:16:39 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-10-27 22:16:39 +0200
commit3e24b92ee1bac124ea8c7bddb15236ccc5fe300d (patch)
tree81803764977345b9264b166926024559908cb066 /training/conf/mapping
parent4a6550ddef7d1f1971737bc22715db6381441f79 (diff)
Update to configs
Diffstat (limited to 'training/conf/mapping')
-rw-r--r--training/conf/mapping/characters.yaml2
-rw-r--r--training/conf/mapping/word_piece.yaml2
2 files changed, 2 insertions, 2 deletions
diff --git a/training/conf/mapping/characters.yaml b/training/conf/mapping/characters.yaml
index 41a26a3..d91c9e5 100644
--- a/training/conf/mapping/characters.yaml
+++ b/training/conf/mapping/characters.yaml
@@ -1,2 +1,2 @@
-_target_: text_recognizer.data.mappings.emnist_mapping.EmnistMapping
+_target_: text_recognizer.data.mappings.emnist.EmnistMapping
extra_symbols: [ "\n" ]
diff --git a/training/conf/mapping/word_piece.yaml b/training/conf/mapping/word_piece.yaml
index c005cc4..6b4dc07 100644
--- a/training/conf/mapping/word_piece.yaml
+++ b/training/conf/mapping/word_piece.yaml
@@ -1,4 +1,4 @@
-_target_: text_recognizer.data.mappings.word_piece_mapping.WordPieceMapping
+_target_: text_recognizer.data.mappings.word_piece.WordPieceMapping
num_features: 1000
tokens: iamdb_1kwp_tokens_1000.txt
lexicon: iamdb_1kwp_lex_1000.txt