Skip to content

Commit 86275fe

Browse files
authored
Merge pull request #139 from wassname/patch-1
eta=0
2 parents cf4f449 + edc6d51 commit 86275fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

denoising_diffusion_pytorch/denoising_diffusion_pytorch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ def __init__(
431431
beta_schedule = 'cosine',
432432
p2_loss_weight_gamma = 0., # p2 loss weight, from https://arxiv.org/abs/2204.00227 - 0 is equivalent to weight of 1 across time - 1. is recommended
433433
p2_loss_weight_k = 1,
434-
ddim_sampling_eta = 1.
434+
ddim_sampling_eta = 0.
435435
):
436436
super().__init__()
437437
assert not (type(self) == GaussianDiffusion and model.channels != model.out_dim)

denoising_diffusion_pytorch/denoising_diffusion_pytorch_1d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ def __init__(
414414
beta_schedule = 'cosine',
415415
p2_loss_weight_gamma = 0.,
416416
p2_loss_weight_k = 1,
417-
ddim_sampling_eta = 1.
417+
ddim_sampling_eta = 0.
418418
):
419419
super().__init__()
420420
self.model = model

0 commit comments

Comments
 (0)