Skip to content

Commit 798da25

Browse files
feat: fix upsampler kwargs
1 parent d30eb1f commit 798da25

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ y_long = composer(y, keep_start=True) # [1, 1, 98304]
174174
- [x] Add (variational) autoencoder option to compress audio before diffusion.
175175
- [x] Fix inpainting and make it work with ADPM2 sampler.
176176
- [x] Add trainer with experiments.
177+
- [x] Add diffusion upsampler.
177178

178179
## Appreciation
179180

audio_diffusion_pytorch/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def __init__(self, factor: int, in_channels: int = 1, *args, **kwargs):
152152
context_channels=[in_channels],
153153
)
154154

155-
super().__init__(*args, {**default_kwargs, **kwargs}) # type: ignore
155+
super().__init__(*args, **{**default_kwargs, **kwargs}) # type: ignore
156156

157157
def forward(self, x: Tensor, **kwargs) -> Tensor:
158158
# Downsample by picking every `factor` item

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
setup(
44
name="audio-diffusion-pytorch",
55
packages=find_packages(exclude=[]),
6-
version="0.0.18",
6+
version="0.0.19",
77
license="MIT",
88
description="Audio Diffusion - PyTorch",
99
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)