gutianpei commited on
Commit
294bc78
1 Parent(s): 1d5ea7e

add preprocess config

Browse files
Files changed (2) hide show
  1. preprocessor_config.json +51 -0
  2. test +0 -1
preprocessor_config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "aspect_ratio_setting": "anyres",
3
+ "crop_size": {
4
+ "height": 336,
5
+ "width": 336
6
+ },
7
+ "do_center_crop": true,
8
+ "do_convert_rgb": true,
9
+ "do_normalize": true,
10
+ "do_rescale": true,
11
+ "do_resize": true,
12
+ "image_grid_pinpoints": [
13
+ [
14
+ 336,
15
+ 672
16
+ ],
17
+ [
18
+ 672,
19
+ 336
20
+ ],
21
+ [
22
+ 672,
23
+ 672
24
+ ],
25
+ [
26
+ 1008,
27
+ 336
28
+ ],
29
+ [
30
+ 336,
31
+ 1008
32
+ ]
33
+ ],
34
+ "image_mean": [
35
+ 0.48145466,
36
+ 0.4578275,
37
+ 0.40821073
38
+ ],
39
+ "image_processor_type": "CLIPImageProcessor",
40
+ "image_std": [
41
+ 0.26862954,
42
+ 0.26130258,
43
+ 0.27577711
44
+ ],
45
+ "processor_class": "PlavaProcessor",
46
+ "resample": 3,
47
+ "rescale_factor": 0.00392156862745098,
48
+ "size": {
49
+ "shortest_edge": 336
50
+ }
51
+ }
test DELETED
@@ -1 +0,0 @@
1
- i