ycjcl868 commited on
Commit
0e8b7f9
·
verified ·
1 Parent(s): d5b7c14

fix: cannot import name 'Qwen2_5_VLImageProcessor' from 'transformers.models.qwen2_5_vl'

Browse files

Refs:
- https://github.com/huggingface/transformers/issues/36193#issuecomment-2661278628
- https://huggingface.co/Qwen/Qwen2.5-VL-7B-Instruct/blob/main/preprocessor_config.json#L17

Files changed (1) hide show
  1. preprocessor_config.json +1 -1
preprocessor_config.json CHANGED
@@ -8,7 +8,7 @@
8
  0.4578275,
9
  0.40821073
10
  ],
11
- "image_processor_type": "Qwen2_5_VLImageProcessor",
12
  "image_std": [
13
  0.26862954,
14
  0.26130258,
 
8
  0.4578275,
9
  0.40821073
10
  ],
11
+ "image_processor_type": "Qwen2VLImageProcessor",
12
  "image_std": [
13
  0.26862954,
14
  0.26130258,