Ucas-HaoranWei / Vary

[ECCV2024] Official code implementation of Vary: Scaling Up the Vision Vocabulary of Large Vision Language Models.
1.65k stars 150 forks source link

ValueError: The state dictionary of the model you are trying to load is corrupted. #103

Open empty2enrich opened 2 months ago

empty2enrich commented 2 months ago

use the model: models--HaoranWei--Vary-tiny-opt125M

huggingface downloaded model。

cmd:

python vary/demo/run_qwen_vary.py  --model-name  ~/.cache/huggingface/hub/models--HaoranWei--Vary-tiny-opt125M/snapshots/59467f64b70872dbf35307a5650b0a5c94aefe83/Vary-tiny --image-file ./00059985.jpg
yidongyi commented 2 months ago

same error

JeffRody commented 1 month ago

改路径 --model-name 有标准路径