Replace DetrFeatureExtractor with DetrImageProcessor

#1
by davanstrien HF staff - opened
Files changed (1) hide show
  1. preprocessor_config.json +9 -2
preprocessor_config.json CHANGED
@@ -1,5 +1,7 @@
1
  {
2
  "do_normalize": true,
 
 
3
  "do_resize": true,
4
  "feature_extractor_type": "DetrFeatureExtractor",
5
  "format": "coco_detection",
@@ -8,11 +10,16 @@
8
  0.456,
9
  0.406
10
  ],
 
11
  "image_std": [
12
  0.229,
13
  0.224,
14
  0.225
15
  ],
16
- "max_size": 1333,
17
- "size": 800
 
 
 
 
18
  }
 
1
  {
2
  "do_normalize": true,
3
+ "do_pad": true,
4
+ "do_rescale": true,
5
  "do_resize": true,
6
  "feature_extractor_type": "DetrFeatureExtractor",
7
  "format": "coco_detection",
 
10
  0.456,
11
  0.406
12
  ],
13
+ "image_processor_type": "DetrFeatureExtractor",
14
  "image_std": [
15
  0.229,
16
  0.224,
17
  0.225
18
  ],
19
+ "resample": 2,
20
+ "rescale_factor": 0.00392156862745098,
21
+ "size": {
22
+ "longest_edge": 1333,
23
+ "shortest_edge": 800
24
+ }
25
  }