diliash commited on
Commit
894e058
1 Parent(s): bcb17d0

Upload processor

Browse files
Files changed (1) hide show
  1. preprocessor_config.json +55 -0
preprocessor_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_valid_processor_keys": [
3
+ "images",
4
+ "segmentation_maps",
5
+ "do_resize",
6
+ "size",
7
+ "mask_size",
8
+ "resample",
9
+ "do_rescale",
10
+ "rescale_factor",
11
+ "do_normalize",
12
+ "image_mean",
13
+ "image_std",
14
+ "do_pad",
15
+ "pad_size",
16
+ "mask_pad_size",
17
+ "do_convert_rgb",
18
+ "return_tensors",
19
+ "data_format",
20
+ "input_data_format"
21
+ ],
22
+ "do_convert_rgb": true,
23
+ "do_normalize": false,
24
+ "do_pad": true,
25
+ "do_rescale": true,
26
+ "do_resize": true,
27
+ "image_mean": [
28
+ 0.485,
29
+ 0.456,
30
+ 0.406
31
+ ],
32
+ "image_processor_type": "SamImageProcessor",
33
+ "image_std": [
34
+ 0.229,
35
+ 0.224,
36
+ 0.225
37
+ ],
38
+ "mask_pad_size": {
39
+ "height": 256,
40
+ "width": 256
41
+ },
42
+ "mask_size": {
43
+ "longest_edge": 256
44
+ },
45
+ "pad_size": {
46
+ "height": 1024,
47
+ "width": 1024
48
+ },
49
+ "processor_class": "SamProcessor",
50
+ "resample": 2,
51
+ "rescale_factor": 0.00392156862745098,
52
+ "size": {
53
+ "longest_edge": 1024
54
+ }
55
+ }