Skip to content

Commit 5250296

Browse files
committed
feat: add data augmentation configuration for experiments
1 parent 2fbceb2 commit 5250296

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"Compose": [
3+
{
4+
"RandomResizedCrop": {
5+
"size": [224, 224],
6+
"scale": [0.7, 1.0],
7+
"ratio": [0.75, 1.3333],
8+
"interpolation": "bilinear",
9+
"antialias": true
10+
}
11+
},
12+
{
13+
"RandomHorizontalFlip": {
14+
"p": 0.5
15+
}
16+
},
17+
{
18+
"RandomVerticalFlip": {
19+
"p": 0.5
20+
}
21+
},
22+
{
23+
"RandomInvert": {
24+
"p": 0.5
25+
}
26+
},
27+
{
28+
"RandomRotation": {
29+
"degrees": [-45.0, 45.0],
30+
"interpolation": "nearest",
31+
"expand": false,
32+
"fill": 0
33+
}
34+
},
35+
{
36+
"RandomAffine": {
37+
"degrees": [0.0, 0.0],
38+
"translate": [0.1, 0.1],
39+
"scale": [0.8, 1.2]
40+
}
41+
},
42+
{
43+
"GaussianBlur": {
44+
"kernel_size": [5, 5],
45+
"sigma": [0.1, 2.0]
46+
}
47+
},
48+
{
49+
"ColorJitter": {
50+
"brightness": [0.7, 1.3],
51+
"contrast": [0.7, 1.3],
52+
"saturation": [0.7, 1.3],
53+
"hue": [-0.3, 0.3]
54+
}
55+
}
56+
]
57+
}

0 commit comments

Comments
 (0)