点击训练按钮开始训练后出现一些错误:
1)
_winapi.CreateProcess
FileNotFoundError: [WinError 2] 系统找不到指定的文件
解决:
Subprocess.py
def __init__(self, args, bufsize=-1, executable=None,
stdin=None, stdout=None, stderr=None,
preexec_fn=None, close_fds=True,
shell=False,
shell=False改为shell=True
参考:https://blog.csdn.net/qq_24118527/article/details/90579328
2)
AttributeError: module 'diffusers.models.attention' has no attribute 'CrossAttention'
解决:原来安装的diffusers是0.15版本,需要回退到0.14版本
python -m pip install diffusers==0.14.0