File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1165,7 +1165,7 @@ def __init__(
11651165 )
11661166
11671167 self .to_out = Unpatcher (
1168- in_channels = channels ,
1168+ in_channels = channels * ( use_noisy + 1 ) ,
11691169 out_channels = in_channels ,
11701170 blocks = patch_blocks ,
11711171 factor = patch_factor ,
@@ -1188,6 +1188,8 @@ def decode(self, x: Tensor) -> Tensor:
11881188 if self .use_noisy :
11891189 x = torch .cat ([x , torch .randn_like (x )], dim = 1 )
11901190 x = upsample (x )
1191+ if self .use_noisy :
1192+ x = torch .cat ([x , torch .randn_like (x )], dim = 1 )
11911193 return self .to_out (x )
11921194
11931195
Original file line number Diff line number Diff line change 33setup (
44 name = "audio-diffusion-pytorch" ,
55 packages = find_packages (exclude = []),
6- version = "0.0.51 " ,
6+ version = "0.0.52 " ,
77 license = "MIT" ,
88 description = "Audio Diffusion - PyTorch" ,
99 long_description_content_type = "text/markdown" ,
You can’t perform that action at this time.
0 commit comments