SidTheChillGuy commited on
Commit
c01698e
·
verified ·
1 Parent(s): 4f6ea6d

Update preprocessor_config.json

Browse files

Replace (max & min) _pixels to (longest & shortest)_edge to fix for latest transformers compatibility.

Files changed (1) hide show
  1. preprocessor_config.json +2 -2
preprocessor_config.json CHANGED
@@ -22,8 +22,8 @@
22
  "resample": 3,
23
  "rescale_factor": 0.00392156862745098,
24
  "size": {
25
- "max_pixels": 1003520,
26
- "min_pixels": 3136
27
  },
28
  "temporal_patch_size": 2,
29
  "vision_token_id": 151654
 
22
  "resample": 3,
23
  "rescale_factor": 0.00392156862745098,
24
  "size": {
25
+ "longest_edge": 1003520,
26
+ "shortest_edge": 3136
27
  },
28
  "temporal_patch_size": 2,
29
  "vision_token_id": 151654