cloudrec commited on
Commit
aa55838
·
verified ·
1 Parent(s): b22a119

fix: exact 320x320 resize for fixed-shape u2netp

Browse files
Files changed (1) hide show
  1. preprocessor_config.json +2 -1
preprocessor_config.json CHANGED
@@ -17,7 +17,8 @@
17
  "resample": 2,
18
  "rescale_factor": 0.00392156862745098,
19
  "size": {
20
- "shortest_edge": 320
 
21
  },
22
  "size_divisibility": 32
23
  }
 
17
  "resample": 2,
18
  "rescale_factor": 0.00392156862745098,
19
  "size": {
20
+ "height": 320,
21
+ "width": 320
22
  },
23
  "size_divisibility": 32
24
  }