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

为什么我已经下载了权重文件,并在代码中改了路径还是会报错呢 #84

Open Yirzzzz opened 3 months ago

Yirzzzz commented 3 months ago

image

Yirzzzz commented 3 months ago

image

大佬们帮我看看

Ucas-HaoranWei commented 3 months ago

你全局搜一下这个/cache/vit-large-path14/然后全部替换成你下载的

Yirzzzz commented 3 months ago

十分感谢

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2024年03月20日 17:48 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [Ucas-HaoranWei/Vary] 为什么我已经下载了权重文件,并在代码中改了路径还是会报错呢 (Issue #84) |

你全局搜一下这个/cache/vit-large-path14/然后全部替换成你下载的

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Yirzzzz commented 3 months ago

都换了还是有报错欸

在 2024-03-20 17:48:01,"WeiHaoran" @.***> 写道:

你全局搜一下这个/cache/vit-large-path14/然后全部替换成你下载的

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Ucas-HaoranWei commented 3 months ago

我看看你目录下文件,clip的

Yirzzzz commented 3 months ago

image 是这一个吗

Yirzzzz commented 3 months ago

OSError: Can't load the configuration of '/cache/vit-large-patch14/'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure '/cache/vit-large-patch14/' is the correct path to a directory containing a config.json file 路径都改了就是跑不了,还显示/cache/vit-large-patch14/ image

Ucas-HaoranWei commented 3 months ago

重新编译Vary (pip install -e .)

Yirzzzz commented 3 months ago

ok了!谢谢你!!!

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2024年03月21日 14:31 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [Ucas-HaoranWei/Vary] 为什么我已经下载了权重文件,并在代码中改了路径还是会报错呢 (Issue #84) |

重新编译Vary (pip install -e .)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

YogeLiu commented 2 months ago

@Yirzzzz hello, can you share the weight file?

fanshuaiyao commented 2 weeks ago

重新编译Vary (pip install -e .)

请问为什么vary改路径后需要重新编译?我记得其他模型是不需要的,直接改路径就能生效