File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1165,7 +1165,7 @@ def __init__(
1165
1165
)
1166
1166
1167
1167
self .to_out = Unpatcher (
1168
- in_channels = channels ,
1168
+ in_channels = channels * ( use_noisy + 1 ) ,
1169
1169
out_channels = in_channels ,
1170
1170
blocks = patch_blocks ,
1171
1171
factor = patch_factor ,
@@ -1188,6 +1188,8 @@ def decode(self, x: Tensor) -> Tensor:
1188
1188
if self .use_noisy :
1189
1189
x = torch .cat ([x , torch .randn_like (x )], dim = 1 )
1190
1190
x = upsample (x )
1191
+ if self .use_noisy :
1192
+ x = torch .cat ([x , torch .randn_like (x )], dim = 1 )
1191
1193
return self .to_out (x )
1192
1194
1193
1195
Original file line number Diff line number Diff line change 3
3
setup (
4
4
name = "audio-diffusion-pytorch" ,
5
5
packages = find_packages (exclude = []),
6
- version = "0.0.51 " ,
6
+ version = "0.0.52 " ,
7
7
license = "MIT" ,
8
8
description = "Audio Diffusion - PyTorch" ,
9
9
long_description_content_type = "text/markdown" ,
You can’t perform that action at this time.
0 commit comments