From 44bd9c91d1086aa11fa6de1e2bb3517f35d706e5 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Wed, 3 Nov 2021 22:14:22 +0100 Subject: Add pad config --- training/conf/datamodule/target_transform/pad.yaml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 training/conf/datamodule/target_transform/pad.yaml (limited to 'training/conf') diff --git a/training/conf/datamodule/target_transform/pad.yaml b/training/conf/datamodule/target_transform/pad.yaml new file mode 100644 index 0000000..854c24c --- /dev/null +++ b/training/conf/datamodule/target_transform/pad.yaml @@ -0,0 +1,4 @@ +pad: + _target_: text_recognizer.data.transforms.pad.Pad + max_len: 682 + pad_index: 3 -- cgit v1.2.3-70-g09d2