Skip to content

Commit

Permalink
rm trailing space
Browse files Browse the repository at this point in the history
  • Loading branch information
ngxson authored Dec 15, 2024
1 parent 107b353 commit 8c2233a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/llava/qwen2_vl_surgery.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def main(args):

if local_model:
processor: Qwen2VLProcessor = AutoProcessor.from_pretrained(model_path)
else:
else:
processor: Qwen2VLProcessor = AutoProcessor.from_pretrained(model_name)
fout.add_array("clip.vision.image_mean", processor.image_processor.image_mean) # type: ignore[reportAttributeAccessIssue]
fout.add_array("clip.vision.image_std", processor.image_processor.image_std) # type: ignore[reportAttributeAccessIssue]
Expand Down

0 comments on commit 8c2233a

Please sign in to comment.