OriLib radames HF staff commited on
Commit
5d9eda8
1 Parent(s): 1e26734

Make it compatible without extra config on Transformers.js (#16)

Browse files

- Make it compatible without extra config on Transformers.js (7291666e10da8a37520462ab9c4d6b2108c250cf)
- fix (2e60ef105c56dc7f3db68bb43eb545fe74215cd2)
- Create config.json (3dbbb5427ede0f0ac1d859cdb1e6eb0333a7d650)


Co-authored-by: Radamés Ajna <radames@users.noreply.huggingface.co>

Files changed (2) hide show
  1. config.json +1 -0
  2. preprocessor_config.json +23 -0
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {}
preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_pad": false,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.5,
8
+ 0.5,
9
+ 0.5
10
+ ],
11
+ "feature_extractor_type": "ImageFeatureExtractor",
12
+ "image_std": [
13
+ 1,
14
+ 1,
15
+ 1
16
+ ],
17
+ "resample": 2,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "width": 1024,
21
+ "height": 1024
22
+ }
23
+ }