使用MindFormers教程在转换CLIP的模型权重ViT-B-32.pt到clip_vit_b_32.ckpt时遇到NotImplementedError问题
收藏回复举报
使用MindFormers教程在转换CLIP的模型权重ViT-B-32.pt到clip_vit_b_32.ckpt时遇到NotImplementedError问题
t('forum.solved') 已解决
新人帖
发表于2024-03-07 21:08:37
0 查看

使用的AICC平台,Ascend910单卡,镜像mindformers0.8.0_mindspore2.2.0:aicc

cke_272.png

问题截图:

cke_20860.png

cke_21463.png

cke_22231.png

权重转换时遇到错误,可能是由于本来没有torch,pip install torch后版本不匹配的问题,但仍需知道如何修改,难道clip模型只能使用pytorch的镜像么,希望尽快得到答复。

我要发帖子