python运行报错module ‘clip‘ has no attribute ‘load‘

python运行报错module 'clip' has no attribute 'load'

原因:不能直接

pip install clip

要从github上下载

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

可参考之前发布的文章 CLIP跨语言多模态模型 pytorch下安装

你可能感兴趣的:(报错及解决,多模态,计算机视觉,深度学习,人工智能)