diff options
Diffstat (limited to 'training/conf/datamodule')
-rw-r--r-- | training/conf/datamodule/transform/paragraphs.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/training/conf/datamodule/transform/paragraphs.yaml b/training/conf/datamodule/transform/paragraphs.yaml index d33a4c3..af06c99 100644 --- a/training/conf/datamodule/transform/paragraphs.yaml +++ b/training/conf/datamodule/transform/paragraphs.yaml @@ -16,5 +16,11 @@ random_affine: shear: [-10, 10] interpolation: BILINEAR +random_perspective: + _target_: torchvision.transforms.RandomPerspective + distortion_scale: 0.15 + p: 0.5 + fill: 0 + to_tensor: _target_: torchvision.transforms.ToTensor |