summaryrefslogtreecommitdiff
path: root/training/conf/mapping
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/mapping
parent7eb0002f599367a5b9a80374c89e08d7a93d6a1b (diff)
Update configs
Diffstat (limited to 'training/conf/mapping')
-rw-r--r--training/conf/mapping/characters.yaml2
-rw-r--r--training/conf/mapping/word_piece.yaml8
2 files changed, 1 insertions, 9 deletions
diff --git a/training/conf/mapping/characters.yaml b/training/conf/mapping/characters.yaml
index d91c9e5..8cbd55d 100644
--- a/training/conf/mapping/characters.yaml
+++ b/training/conf/mapping/characters.yaml
@@ -1,2 +1,2 @@
-_target_: text_recognizer.data.mappings.emnist.EmnistMapping
+_target_: text_recognizer.data.mappings.EmnistMapping
extra_symbols: [ "\n" ]
diff --git a/training/conf/mapping/word_piece.yaml b/training/conf/mapping/word_piece.yaml
deleted file mode 100644
index 6b4dc07..0000000
--- a/training/conf/mapping/word_piece.yaml
+++ /dev/null
@@ -1,8 +0,0 @@
-_target_: text_recognizer.data.mappings.word_piece.WordPieceMapping
-num_features: 1000
-tokens: iamdb_1kwp_tokens_1000.txt
-lexicon: iamdb_1kwp_lex_1000.txt
-use_words: false
-prepend_wordsep: false
-special_tokens: [ <s>, <e>, <p> ]
-extra_symbols: [ "\n" ]