Skip to content

Commit 7658101

Browse files
committed
address #256
1 parent ea7cb0f commit 7658101

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

denoising_diffusion_pytorch/classifier_free_guidance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ def ddim_sample(self, classes, shape, cond_scale = 6., rescaled_phi = 0.7, clip_
671671

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

676676
if time_next < 0:
677677
img = x_start
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.8.12'
1+
__version__ = '1.8.14'

0 commit comments

Comments
 (0)