fix unipc img2img denoising sample count

was wrongly using the inverse of the intended value. smaller denoising
strength should run fewer steps.
This commit is contained in:
cool-bigdogs-tshirt
2023-04-30 12:27:52 -05:00
parent 7eb82e2627
commit 04f4da0013
+1 -1
View File
@@ -47,7 +47,7 @@ class UniPCSampler(object):
# actual number of steps we'll run
self.steps = max(
num_inference_steps - init_timestep,
init_timestep,
shared.opts.uni_pc_order+1,
)