praeclarumjj3
commited on
Commit
•
f88125f
1
Parent(s):
53cc139
Add configs
Browse files- preprocessor_config.json +9 -4
preprocessor_config.json
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
{
|
|
|
2 |
"class_info": [
|
3 |
{
|
4 |
"color": [
|
@@ -1502,21 +1503,21 @@
|
|
1502 |
}
|
1503 |
],
|
1504 |
"do_normalize": true,
|
|
|
1505 |
"do_resize": true,
|
1506 |
-
"feature_extractor_type": "OneFormerFeatureExtractor",
|
1507 |
"ignore_index": 255,
|
1508 |
"image_mean": [
|
1509 |
0.48500001430511475,
|
1510 |
0.4560000002384186,
|
1511 |
0.4059999883174896
|
1512 |
],
|
|
|
1513 |
"image_std": [
|
1514 |
0.2290000021457672,
|
1515 |
0.2239999920129776,
|
1516 |
0.22499999403953552
|
1517 |
],
|
1518 |
"max_seq_length": 77,
|
1519 |
-
"max_size": 2048,
|
1520 |
"metadata": {
|
1521 |
"0": "wall",
|
1522 |
"1": "building",
|
@@ -1928,7 +1929,11 @@
|
|
1928 |
"reduce_labels": false,
|
1929 |
"repo_path": "shi-labs/oneformer_ade20k_swin_tiny",
|
1930 |
"resample": 2,
|
1931 |
-
"
|
1932 |
-
"
|
|
|
|
|
|
|
|
|
1933 |
"task_seq_length": 77
|
1934 |
}
|
|
|
1 |
{
|
2 |
+
"_max_size": 2048,
|
3 |
"class_info": [
|
4 |
{
|
5 |
"color": [
|
|
|
1503 |
}
|
1504 |
],
|
1505 |
"do_normalize": true,
|
1506 |
+
"do_rescale": true,
|
1507 |
"do_resize": true,
|
|
|
1508 |
"ignore_index": 255,
|
1509 |
"image_mean": [
|
1510 |
0.48500001430511475,
|
1511 |
0.4560000002384186,
|
1512 |
0.4059999883174896
|
1513 |
],
|
1514 |
+
"image_processor_type": "OneFormerImageProcessor",
|
1515 |
"image_std": [
|
1516 |
0.2290000021457672,
|
1517 |
0.2239999920129776,
|
1518 |
0.22499999403953552
|
1519 |
],
|
1520 |
"max_seq_length": 77,
|
|
|
1521 |
"metadata": {
|
1522 |
"0": "wall",
|
1523 |
"1": "building",
|
|
|
1929 |
"reduce_labels": false,
|
1930 |
"repo_path": "shi-labs/oneformer_ade20k_swin_tiny",
|
1931 |
"resample": 2,
|
1932 |
+
"rescale_factor": 0.00392156862745098,
|
1933 |
+
"size": {
|
1934 |
+
"longest_edge": 2048,
|
1935 |
+
"shortest_edge": 512
|
1936 |
+
},
|
1937 |
+
"size_divisor": 32,
|
1938 |
"task_seq_length": 77
|
1939 |
}
|