Commit
•
b4b4530
1
Parent(s):
fae5dfa
[Clean-up] Planned removal of the `max_size` argument (#10)
Browse files- [Clean-up] Planned removal of the `max_size` argument (20e6b05348a1e272922e502642ba23564f0a1160)
Co-authored-by: Hicham Tala <HichTala@users.noreply.huggingface.co>
- preprocessor_config.json +6 -4
preprocessor_config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"do_normalize": true,
|
3 |
"do_resize": true,
|
4 |
-
"
|
5 |
"format": "coco_detection",
|
6 |
"image_mean": [
|
7 |
0.485,
|
@@ -13,6 +13,8 @@
|
|
13 |
0.224,
|
14 |
0.225
|
15 |
],
|
16 |
-
"
|
17 |
-
|
18 |
-
|
|
|
|
|
|
1 |
{
|
2 |
"do_normalize": true,
|
3 |
"do_resize": true,
|
4 |
+
"image_processor_type": "DetrImageProcessor",
|
5 |
"format": "coco_detection",
|
6 |
"image_mean": [
|
7 |
0.485,
|
|
|
13 |
0.224,
|
14 |
0.225
|
15 |
],
|
16 |
+
"size": {
|
17 |
+
"longest_edge": 1333,
|
18 |
+
"shortest_edge": 800
|
19 |
+
}
|
20 |
+
}
|