Skip to content

Commit

Permalink
fix num in convert
Browse files Browse the repository at this point in the history
  • Loading branch information
tc-mb committed Aug 12, 2024
1 parent f30c5e1 commit 47eb0a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/llava/minicpmv-convert-image-encoder-to-gguf.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ def bytes_to_unicode():
"patch_size": 14,
}

if minicpmv_version == 3:
if minicpmv_version == 2:
vision_config = Idefics2VisionConfig(**default_vision_config)
model = Idefics2VisionTransformer(vision_config)
elif minicpmv_version == 3:
Expand Down

0 comments on commit 47eb0a5

Please sign in to comment.