admin管理员组

文章数量:1130349

最近需要做一个风格迁移的工作,看到了这篇文章,感觉效果还不错,所以尝试进行复现,记录遇到的问题和解决方法。

代码链接:https://github/jiwoogit/StyleID

问题一:

ModuleNotFoundError: no module named “taming”
ModuleNotFoundError: no module named “clip”

解决方法:

手动下载taming- transformers,将taming这个包放在文件路径下即可,clip包同理
https://github/CompVis/taming-transformers

问题二:


缺乏clip的权重,手动在hugging face上下载’openai/clip-vit-large-patch14’权重,放在目录下。
https://huggingface.co/openai/clip-vit-large-patch14


下载完就可以正常的运行啦

最近需要做一个风格迁移的工作,看到了这篇文章,感觉效果还不错,所以尝试进行复现,记录遇到的问题和解决方法。

代码链接:https://github/jiwoogit/StyleID

问题一:

ModuleNotFoundError: no module named “taming”
ModuleNotFoundError: no module named “clip”

解决方法:

手动下载taming- transformers,将taming这个包放在文件路径下即可,clip包同理
https://github/CompVis/taming-transformers

问题二:


缺乏clip的权重,手动在hugging face上下载’openai/clip-vit-large-patch14’权重,放在目录下。
https://huggingface.co/openai/clip-vit-large-patch14


下载完就可以正常的运行啦

本文标签: 论文DiffusionTrainingInjectionFree