一、首先需要 model_base_caption_capfilt_large.pth
下载放入:D:\sd-webui-aki-v4.7\models\BLIP\model_base_caption_capfilt_large.pth 中的 BLIP 下,有的话就不要再下载了。
二、Argument interpolation should be a InterpolationMode or a corresponding Pillow integer constant
1、错误截图
2、修改 D:\sd-webui-aki\sd-webui-aki-v4.7\modules\interrogate.py 中的 interrogate.py 文件
2.1文件顶部添加:import torchvision.transforms.functional as F
2.2 搜索 InterpolationMode,修改后保存(ctrl + s)
interpolation=InterpolationMode.BICUBIC
# 改成
interpolation=F.InterpolationMode.BICUBIC
如图:
3、重新运行 sd 后,提示已经 ok,感谢大哥,大哥文章 https://blog.csdn.net/codemethod/article/details/136772089
三、interrogate CLIP crash in FileExistsError 或者 During handling of the above exception, another exception occurred:
urllib.error.URLError: <urlopen error [Errno 11004] getaddrinfo failed>
1、下载 interrogate https://www.mediafire.com/file/9rwytbudhjgfa3b/interrogate.7z/file 解压后放 sd 根目录
interrogate 文件夹位置
2、相关 issues https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/7193