diff options
Diffstat (limited to 'training/conf/datamodule/transform')
-rw-r--r-- | training/conf/datamodule/transform/lines.yaml (renamed from training/conf/datamodule/transform/iam_lines.yaml) | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/training/conf/datamodule/transform/iam_lines.yaml b/training/conf/datamodule/transform/lines.yaml index 710f6e3..6949a15 100644 --- a/training/conf/datamodule/transform/iam_lines.yaml +++ b/training/conf/datamodule/transform/lines.yaml @@ -13,5 +13,11 @@ random_affine: interpolation: BILINEAR fill: 0 +random_perspective: + _target_: torchvision.transforms.RandomPerspective + distortion_scale: 0.2 + p: 0.5 + fill: 0 + to_tensor: _target_: torchvision.transforms.ToTensor |