为什么我已经下载了权重文件,并在代码中改了路径还是会报错呢
Yirzzzz opened this issue · 11 comments
Yirzzzz commented
Yirzzzz commented
Ucas-HaoranWei commented
你全局搜一下这个/cache/vit-large-path14/然后全部替换成你下载的
Yirzzzz commented
十分感谢
…---- 回复的原邮件 ----
| 发件人 | ***@***.***> |
| 日期 | 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
都换了还是有报错欸
在 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
我看看你目录下文件,clip的
Yirzzzz commented
Yirzzzz commented
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/
Ucas-HaoranWei commented
重新编译Vary (pip install -e .)
Yirzzzz commented
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: ***@***.***>