Create preprocessor_config.json
Browse files- preprocessor_config.json +22 -0
preprocessor_config.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"image_size": 224,
|
| 3 |
+
"transforms": [
|
| 4 |
+
{
|
| 5 |
+
"name": "Resize",
|
| 6 |
+
"parameters": {
|
| 7 |
+
"size": [224, 224]
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
{
|
| 11 |
+
"name": "ToTensor",
|
| 12 |
+
"parameters": {}
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"name": "Normalize",
|
| 16 |
+
"parameters": {
|
| 17 |
+
"mean": [0.485, 0.456, 0.406],
|
| 18 |
+
"std": [0.229, 0.224, 0.225]
|
| 19 |
+
}
|
| 20 |
+
}
|
| 21 |
+
]
|
| 22 |
+
}
|