summaryrefslogtreecommitdiff
path: root/training/conf/datamodule/transform/lines.yaml
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-09-27 01:44:49 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-09-27 01:44:49 +0200
commit9b8e14d89f0ef2508ed11f994f73af624155fe1d (patch)
tree10d9c138f4449646c8b5c0f95003ba86b831d04d /training/conf/datamodule/transform/lines.yaml
parent63376b1c2da81c23ad5239f908b640cd42a514c7 (diff)
Update data modules
Diffstat (limited to 'training/conf/datamodule/transform/lines.yaml')
-rw-r--r--training/conf/datamodule/transform/lines.yaml23
1 files changed, 0 insertions, 23 deletions
diff --git a/training/conf/datamodule/transform/lines.yaml b/training/conf/datamodule/transform/lines.yaml
deleted file mode 100644
index 6bd35ef..0000000
--- a/training/conf/datamodule/transform/lines.yaml
+++ /dev/null
@@ -1,23 +0,0 @@
-embed_crop:
- _target_: text_recognizer.data.transforms.embed_crop.EmbedCrop
- augment: false
-
-color_jitter:
- _target_: torchvision.transforms.ColorJitter
- brightness: [0.8, 1.6]
-
-random_affine:
- _target_: torchvision.transforms.RandomAffine
- degrees: 1
- shear: [-10, 10]
- interpolation: BILINEAR
- fill: 0
-
-random_perspective:
- _target_: torchvision.transforms.RandomPerspective
- distortion_scale: 0.05
- p: 0.25
- fill: 0
-
-to_tensor:
- _target_: torchvision.transforms.ToTensor