summaryrefslogtreecommitdiff
path: root/training/conf/datamodule
diff options
context:
space:
mode:
Diffstat (limited to 'training/conf/datamodule')
-rw-r--r--training/conf/datamodule/emnist_lines.yaml2
-rw-r--r--training/conf/datamodule/iam_extended_paragraphs.yaml4
-rw-r--r--training/conf/datamodule/iam_lines.yaml4
3 files changed, 5 insertions, 5 deletions
diff --git a/training/conf/datamodule/emnist_lines.yaml b/training/conf/datamodule/emnist_lines.yaml
index 218df6c..ce35c3e 100644
--- a/training/conf/datamodule/emnist_lines.yaml
+++ b/training/conf/datamodule/emnist_lines.yaml
@@ -6,4 +6,4 @@ pin_memory: true
transform: transform/lines.yaml
test_transform: test_transform/lines.yaml
mapping:
- _target_: text_recognizer.data.mappings.EmnistMapping
+ _target_: text_recognizer.data.tokenizer.Tokenizer
diff --git a/training/conf/datamodule/iam_extended_paragraphs.yaml b/training/conf/datamodule/iam_extended_paragraphs.yaml
index c46714c..64c3964 100644
--- a/training/conf/datamodule/iam_extended_paragraphs.yaml
+++ b/training/conf/datamodule/iam_extended_paragraphs.yaml
@@ -13,6 +13,6 @@ target_transform:
_target_: text_recognizer.data.transforms.pad.Pad
max_len: 682
pad_index: 3
-mapping:
- _target_: text_recognizer.data.mappings.EmnistMapping
+tokenizer:
+ _target_: text_recognizer.data.tokenizer.Tokenizer
extra_symbols: ["\n"]
diff --git a/training/conf/datamodule/iam_lines.yaml b/training/conf/datamodule/iam_lines.yaml
index 4f1f1b8..f84116d 100644
--- a/training/conf/datamodule/iam_lines.yaml
+++ b/training/conf/datamodule/iam_lines.yaml
@@ -9,5 +9,5 @@ transform:
test_transform:
_target_: text_recognizer.data.stems.line.IamLinesStem
augment: false
-mapping:
- _target_: text_recognizer.data.mappings.EmnistMapping
+tokenizer:
+ _target_: text_recognizer.data.tokenizer.Tokenizer