summaryrefslogtreecommitdiff
path: root/training/conf/datamodule/target_transform
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-11-03 22:14:22 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-11-03 22:14:22 +0100
commit44bd9c91d1086aa11fa6de1e2bb3517f35d706e5 (patch)
tree1e5baae09b7a0b7f5c1b8bc14f39480e60dc0b62 /training/conf/datamodule/target_transform
parent9d8dcd2120dbe96c0e508b006a4b6e10b128f7a7 (diff)
Add pad config
Diffstat (limited to 'training/conf/datamodule/target_transform')
-rw-r--r--training/conf/datamodule/target_transform/pad.yaml4
1 files changed, 4 insertions, 0 deletions
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