blob: 6bd35eff3bb8e2ccca5457104d1cbe0517d7c465 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
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
|