Commit 38aaad65 authored by Kohaku-Blueleaf's avatar Kohaku-Blueleaf Committed by GitHub

Better hint for user

Co-authored-by: default avatarcatboxanon <122327233+catboxanon@users.noreply.github.com>
parent 403b3041
......@@ -274,8 +274,9 @@ class KDiffusionSampler:
return func()
except RecursionError:
print(
'rho>5 with polyexponential scheduler may cause this error.'
'You should try to use smaller rho instead.'
'Encountered RecursionError during sampling, returning last latent. '
'rho >5 with a polyexponential scheduler may cause this error. '
'You should try to use a smaller rho value instead.'
)
return self.last_latent
except sd_samplers_common.InterruptedException:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment