使用cli调用自定义微调模型,出现'OpenCLIPVisionTower' object has no attribute 'device'
HongLouyemeng opened this issue · comments
有老哥知道是啥问题吗
hi, I encountered the same issue when I inference the model, have you solved it?
还没有,我换了7B的模型 一样报错。 同学有解决方法及时沟通哦
好的~
同学那你把这个issue open以便能被作者关注解答?
I found the reason. You should put 'mgm' in your model name. This issue is similar to the LLaVa repo, but I forgot it:)
就是你模型取的名字,文件夹重命名就行了
I found the reason. You should put 'mgm' in your model name. This issue is similar to the LLaVa repo, but I forgot it:)
+1
谢谢同学
hello ,这个问题怎么解决的? 我也碰到这个问题了
I found the reason. You should put 'mgm' in your model name. This issue is similar to the LLaVa repo, but I forgot it:)
文件名加上mgm就行
你训练的时候是不是要把ckpt保存到一个文件夹,就这个文件夹的名字