We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c33a84c commit 6531446Copy full SHA for 6531446
ldm/modules/diffusionmodules/util.py
@@ -81,7 +81,9 @@ def make_ddim_timesteps(
81
82
# assert ddim_timesteps.shape[0] == num_ddim_timesteps
83
# add one to get the final alpha values right (the ones from first scale to data during sampling)
84
- steps_out = ddim_timesteps + 1
+# steps_out = ddim_timesteps + 1
85
+ steps_out = ddim_timesteps
86
+
87
if verbose:
88
print(f'Selected timesteps for ddim sampler: {steps_out}')
89
return steps_out
0 commit comments