mirror of
https://github.com/finegrain-ai/refiners.git
synced 2024-11-21 21:58:47 +00:00
ddim: remove unused attribute
This commit is contained in:
parent
315b4ed2e4
commit
11b0ff6f8c
|
@ -54,6 +54,4 @@ class DDIM(Scheduler):
|
|||
predicted_x = (x - sqrt(1 - current_scale_factor**2) * noise) / current_scale_factor
|
||||
denoised_x = previous_scale_factor * predicted_x + sqrt(1 - previous_scale_factor**2) * noise
|
||||
|
||||
self.previous_scale_factor = previous_scale_factor
|
||||
|
||||
return denoised_x
|
||||
|
|
Loading…
Reference in a new issue