summaryrefslogtreecommitdiff
path: root/training/conf/datamodule/transform/paragraphs.yaml
blob: 4f260d022b01f2ffc2ad0ae0bfc7d650185a2ac7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# random_crop:
#   _target_: torchvision.transforms.RandomCrop
#   size: [576, 640]
#   padding: null
#   pad_if_needed: true
#   fill: 0
#   padding_mode: constant

center_crop:
  _target_: torchvision.transforms.CenterCrop
  size: [576, 640]

color_jitter:
  _target_: torchvision.transforms.ColorJitter
  brightness: [0.8, 1.6]

random_affine:
  _target_: torchvision.transforms.RandomAffine
  degrees: 1
  shear: [-5, 5]
  interpolation: BILINEAR

random_perspective:
  _target_: torchvision.transforms.RandomPerspective
  distortion_scale: 0.05
  p: 0.25
  fill: 0

to_tensor:
  _target_: torchvision.transforms.ToTensor