NabeelShar
commited on
Commit
•
51c9544
1
Parent(s):
8351942
Create preprocessor_config.json
Browse files- preprocessor_config.json +29 -0
preprocessor_config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"preprocessor_name": "your_preprocessor_name",
|
3 |
+
"preprocessing_steps": [
|
4 |
+
{
|
5 |
+
"step_name": "step_1",
|
6 |
+
"step_type": "resize",
|
7 |
+
"parameters": {
|
8 |
+
"width": 640,
|
9 |
+
"height": 480
|
10 |
+
}
|
11 |
+
},
|
12 |
+
{
|
13 |
+
"step_name": "step_2",
|
14 |
+
"step_type": "normalize",
|
15 |
+
"parameters": {
|
16 |
+
"mean": [0.485, 0.456, 0.406],
|
17 |
+
"std": [0.229, 0.224, 0.225]
|
18 |
+
}
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"step_name": "step_3",
|
22 |
+
"step_type": "augmentation",
|
23 |
+
"parameters": {
|
24 |
+
"augmentation_type": "random_flip",
|
25 |
+
"probability": 0.5
|
26 |
+
}
|
27 |
+
}
|
28 |
+
]
|
29 |
+
}
|