We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 107b353 commit 8c2233aCopy full SHA for 8c2233a
examples/llava/qwen2_vl_surgery.py
@@ -145,7 +145,7 @@ def main(args):
145
146
if local_model:
147
processor: Qwen2VLProcessor = AutoProcessor.from_pretrained(model_path)
148
- else:
+ else:
149
processor: Qwen2VLProcessor = AutoProcessor.from_pretrained(model_name)
150
fout.add_array("clip.vision.image_mean", processor.image_processor.image_mean) # type: ignore[reportAttributeAccessIssue]
151
fout.add_array("clip.vision.image_std", processor.image_processor.image_std) # type: ignore[reportAttributeAccessIssue]
0 commit comments