AttributeError: module ‘clip‘ has no attribute ‘load‘

1 安装相应的依赖包

pip install ftfy regex tqdm

2 使用openAI提供的github安装源安装

pip install git+https://github.com/openai/CLIP.git

若之前没有安装过git,此步之前需要先安装git

猜你喜欢

转载自blog.csdn.net/weixin_43488159/article/details/129279561