From 8fe4b36bf22281c84c4afee811b3435f3b50686d Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 11 Jun 2022 23:10:56 +0200 Subject: Update configs --- training/conf/datamodule/iam_extended_paragraphs.yaml | 5 ++++- training/conf/datamodule/iam_lines.yaml | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'training/conf/datamodule') diff --git a/training/conf/datamodule/iam_extended_paragraphs.yaml b/training/conf/datamodule/iam_extended_paragraphs.yaml index f53e5b6..0921b25 100644 --- a/training/conf/datamodule/iam_extended_paragraphs.yaml +++ b/training/conf/datamodule/iam_extended_paragraphs.yaml @@ -2,7 +2,10 @@ _target_: text_recognizer.data.iam_extended_paragraphs.IAMExtendedParagraphs batch_size: 4 num_workers: 12 train_fraction: 0.8 -pin_memory: false +pin_memory: true transform: transform/paragraphs.yaml test_transform: test_transform/paragraphs.yaml target_transform: target_transform/pad.yaml +mapping: + _target_: text_recognizer.data.mappings.EmnistMapping + extra_symbols: ["\n"] diff --git a/training/conf/datamodule/iam_lines.yaml b/training/conf/datamodule/iam_lines.yaml index 19c72f8..85a023b 100644 --- a/training/conf/datamodule/iam_lines.yaml +++ b/training/conf/datamodule/iam_lines.yaml @@ -1,7 +1,9 @@ _target_: text_recognizer.data.iam_lines.IAMLines batch_size: 8 num_workers: 12 -train_fraction: 0.8 +train_fraction: 0.9 pin_memory: true transform: transform/lines.yaml test_transform: test_transform/lines.yaml +mapping: + _target_: text_recognizer.data.mappings.EmnistMapping -- cgit v1.2.3-70-g09d2