Skip to content

Commit

Permalink
address #329
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Jun 24, 2024
1 parent b281d55 commit b2501fb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion denoising_diffusion_pytorch/denoising_diffusion_pytorch.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def __init__(
default_out_dim = channels * (1 if not learned_variance else 2)
self.out_dim = default(out_dim, default_out_dim)

self.final_res_block = resnet_block(dim * 2, dim)
self.final_res_block = resnet_block(init_dim * 2, dim)
self.final_conv = nn.Conv2d(dim, self.out_dim, 1)

@property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ def __init__(
default_out_dim = channels * (1 if not learned_variance else 2)
self.out_dim = default(out_dim, default_out_dim)

self.final_res_block = resnet_block(dim * 2, dim)
self.final_res_block = resnet_block(init_dim * 2, dim)
self.final_conv = nn.Conv1d(dim, self.out_dim, 1)

def forward(self, x, time, x_self_cond = None):
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.0.10'
__version__ = '2.0.11'

0 comments on commit b2501fb

Please sign in to comment.