Which is the 'correct' way to add RePaint? #101
Unanswered
drscotthawley
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. I'm trying to enable RePaint in k-diffusion, but I'm not sure how exactly to convert from the original formulation of repaint, which uses (line 10 of Algorithm 1):

which I write line 10 in code as
But
k-diffusion
uses sigmas rather than betas, and these sigmas scale beyond 1.Here are my various attempts to enable RePaint for one of the DPM++ samplers. Which of these -- if any, otherwise what else -- would be the 'correct' way to do this? Many of these variants produce NaNs when the number of repaint loops (here set via the
repaint
kwarg) exceeds more than a few.Beta Was this translation helpful? Give feedback.
All reactions