peter881122
commited on
Commit
•
88dc1f0
1
Parent(s):
734f80b
Upload processor
Browse files- preprocessor_config.json +3 -3
preprocessor_config.json
CHANGED
@@ -3,14 +3,14 @@
|
|
3 |
"do_pad": true,
|
4 |
"do_rescale": true,
|
5 |
"do_resize": true,
|
6 |
-
"feature_extractor_type": "
|
7 |
"format": "coco_detection",
|
8 |
"image_mean": [
|
9 |
0.485,
|
10 |
0.456,
|
11 |
0.406
|
12 |
],
|
13 |
-
"image_processor_type": "
|
14 |
"image_std": [
|
15 |
0.229,
|
16 |
0.224,
|
@@ -20,6 +20,6 @@
|
|
20 |
"rescale_factor": 0.00392156862745098,
|
21 |
"size": {
|
22 |
"longest_edge": 1333,
|
23 |
-
"shortest_edge":
|
24 |
}
|
25 |
}
|
|
|
3 |
"do_pad": true,
|
4 |
"do_rescale": true,
|
5 |
"do_resize": true,
|
6 |
+
"feature_extractor_type": "YolosFeatureExtractor",
|
7 |
"format": "coco_detection",
|
8 |
"image_mean": [
|
9 |
0.485,
|
10 |
0.456,
|
11 |
0.406
|
12 |
],
|
13 |
+
"image_processor_type": "YolosImageProcessor",
|
14 |
"image_std": [
|
15 |
0.229,
|
16 |
0.224,
|
|
|
20 |
"rescale_factor": 0.00392156862745098,
|
21 |
"size": {
|
22 |
"longest_edge": 1333,
|
23 |
+
"shortest_edge": 512
|
24 |
}
|
25 |
}
|