Skip to content

Commit

Permalink
address #346
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Oct 9, 2024
1 parent 403f9e6 commit 1d9d8df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion denoising_diffusion_pytorch/classifier_free_guidance.py
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ def model_predictions(self, x, t, classes, cond_scale = 6., rescaled_phi = 0.7,
if self.objective == 'pred_noise':
pred_noise = model_output if not self.use_cfg_plus_plus else model_output_null

x_start = self.predict_start_from_noise(x, t, pred_noise)
x_start = self.predict_start_from_noise(x, t, model_output)
x_start = maybe_clip(x_start)

elif self.objective == 'pred_x0':
Expand Down
2 changes: 1 addition & 1 deletion denoising_diffusion_pytorch/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.1.0'
__version__ = '2.1.1'

0 comments on commit 1d9d8df

Please sign in to comment.