LLaVA-HR icon indicating copy to clipboard operation
LLaVA-HR copied to clipboard

How to load convnext model using local bin file

Open yuecao0119 opened this issue 1 year ago • 7 comments

Hello, thanks for your work.

But I would like to ask if I want the convnext model to use local files instead of downloading them every time. How should this be done? I tried modifying the code, but to no avail.

Could you please give me some guidance? Thank you very much.

yuecao0119 avatar Mar 13 '24 10:03 yuecao0119

I have the same problem

aoji0606 avatar Mar 14 '24 02:03 aoji0606

I have the same problem

gapjialin avatar Mar 14 '24 03:03 gapjialin

Download the weights from here, then change the name --vision_tower_slow convnext_large_mlp.clip_laion2b_ft_320 to your download path, e.g., ./weights/convnext_large_mlp.clip_laion2b_ft_320 .

luogen1996 avatar Mar 14 '24 04:03 luogen1996

I did it exactly the way you said, but it didn't work image image

aoji0606 avatar Mar 14 '24 07:03 aoji0606

This is because your network cannot connect to the huggingface server. As far as I know, even loading weights locally may still require access to the huggingface server. I recommend you to use a VPN such as pigcha.

luogen1996 avatar Mar 14 '24 09:03 luogen1996

clip_laion2b_ft_320

which model/weights should we download exactly?because there are so many choices.

chuangzhidan avatar Apr 09 '24 03:04 chuangzhidan

我完全按照你说的做了,但没有效果 图像 图像

Did you solve this problem?

0x4e8 avatar Oct 22 '24 17:10 0x4e8