提交 65a87ccc 编写于 作者: K Kohaku-Blueleaf

Add error information for recursion error

上级 302d95c7
......@@ -272,6 +272,12 @@ class KDiffusionSampler:
try:
return func()
except RecursionError:
print(
'rho>5 with polyexponential scheduler may cause this error.'
'You should try to use smaller rho instead.'
)
return self.last_latent
except sd_samplers_common.InterruptedException:
return self.last_latent
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册