
下载放入:D:\sd-webui-aki-v4.7\models\BLIP\model_base_caption_capfilt_large.pth 中的 BLIP 下,有的话就不要再下载了。
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
1、下载 interrogatehttps://www.mediafire.com/file/9rwytbudhjgfa3b/interrogate.7z/file 解压后放 sd 根目录

interrogate 文件夹位置


2、相关 issues https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/7193