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

1 Install the corresponding dependency package

pip install ftfy regex tqdm

2 Use the github installation source provided by openAI to install

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

If you have not installed git before, you need to install git before this step

Guess you like

Origin blog.csdn.net/weixin_43488159/article/details/129279561