Skip to content

Commit

Permalink
address lucidrains#256
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Sep 27, 2023
1 parent ea7cb0f commit 7658101
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 @@ -671,7 +671,7 @@ def ddim_sample(self, classes, shape, cond_scale = 6., rescaled_phi = 0.7, clip_

for time, time_next in tqdm(time_pairs, desc = 'sampling loop time step'):
time_cond = torch.full((batch,), time, device=device, dtype=torch.long)
pred_noise, x_start, *_ = self.model_predictions(img, time_cond, classes, cond_scale = cond_scale, clip_x_start = clip_denoised)
pred_noise, x_start, *_ = self.model_predictions(img, time_cond, classes, cond_scale = cond_scale, rescaled_phi = rescaled_phi, clip_x_start = clip_denoised)

if time_next < 0:
img = x_start
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__ = '1.8.12'
__version__ = '1.8.14'

0 comments on commit 7658101

Please sign in to comment.