update model config and add preprocessor config
Browse files- config.json +20 -1
- preprocessor_config.json +23 -0
config.json
CHANGED
@@ -1,3 +1,22 @@
|
|
1 |
{
|
2 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
}
|
|
|
1 |
{
|
2 |
+
"classes": [
|
3 |
+
"bareland",
|
4 |
+
"rangeland",
|
5 |
+
"developed space",
|
6 |
+
"road",
|
7 |
+
"tree",
|
8 |
+
"water",
|
9 |
+
"agriculture land",
|
10 |
+
"buildings"
|
11 |
+
],
|
12 |
+
"colors": [
|
13 |
+
[128, 0, 0],
|
14 |
+
[0, 255, 0],
|
15 |
+
[192, 192, 192],
|
16 |
+
[255, 255, 255],
|
17 |
+
[49, 139, 87],
|
18 |
+
[0, 0, 255],
|
19 |
+
[127, 255, 0],
|
20 |
+
[255, 0, 0]
|
21 |
+
]
|
22 |
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"data_format": "channels_first",
|
3 |
+
"default_to_square": true,
|
4 |
+
"device": null,
|
5 |
+
"do_convert_rgb": true,
|
6 |
+
"do_normalize": true,
|
7 |
+
"do_resize": true,
|
8 |
+
"image_mean": [
|
9 |
+
0.485,
|
10 |
+
0.456,
|
11 |
+
0.406
|
12 |
+
],
|
13 |
+
"image_std": [
|
14 |
+
0.229,
|
15 |
+
0.224,
|
16 |
+
0.225
|
17 |
+
],
|
18 |
+
"return_tensors": true,
|
19 |
+
"size": {
|
20 |
+
"height": 1024,
|
21 |
+
"width": 1024
|
22 |
+
}
|
23 |
+
}
|