d22cs051 commited on
Commit
109dbb5
·
1 Parent(s): 019307d

adding preprocessor

Browse files
processor/detr-resnet-50-panoptic/preprocessor_config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_pad": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "format": "coco_panoptic",
7
+ "image_mean": [
8
+ 0.485,
9
+ 0.456,
10
+ 0.406
11
+ ],
12
+ "image_processor_type": "DetrImageProcessor",
13
+ "image_std": [
14
+ 0.229,
15
+ 0.224,
16
+ 0.225
17
+ ],
18
+ "resample": 2,
19
+ "rescale_factor": 0.00392156862745098,
20
+ "size": {
21
+ "longest_edge": 1333,
22
+ "shortest_edge": 800
23
+ }
24
+ }
processor/maskformer-swin-small-coco/preprocessor_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_max_size": 1333,
3
+ "do_normalize": true,
4
+ "do_reduce_labels": false,
5
+ "do_rescale": true,
6
+ "do_resize": true,
7
+ "feature_extractor_type": "MaskFormerFeatureExtractor",
8
+ "ignore_index": 255,
9
+ "image_mean": [
10
+ 0.48500001430511475,
11
+ 0.4560000002384186,
12
+ 0.4059999883174896
13
+ ],
14
+ "image_processor_type": "MaskFormerFeatureExtractor",
15
+ "image_std": [
16
+ 0.2290000021457672,
17
+ 0.2239999920129776,
18
+ 0.22499999403953552
19
+ ],
20
+ "resample": 2,
21
+ "rescale_factor": 0.00392156862745098,
22
+ "size": {
23
+ "longest_edge": 1333,
24
+ "shortest_edge": 800
25
+ },
26
+ "size_divisor": 32
27
+ }