Skip to content

Commit

Permalink
fix: missing patch factor in patchblock
Browse files Browse the repository at this point in the history
  • Loading branch information
flavioschneider committed Sep 23, 2022
1 parent c76e8a6 commit a6df6bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions audio_diffusion_pytorch/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ def __init__(
PatchBlock(
in_channels=channels_pre[i],
out_channels=channels_post[i],
patch_size=factor,
context_mapping_features=context_mapping_features,
)
for i in range(blocks)
Expand All @@ -328,6 +329,7 @@ def __init__(
UnpatchBlock(
in_channels=channels_pre[i],
out_channels=channels_post[i],
patch_size=factor,
context_mapping_features=context_mapping_features,
)
for i in range(blocks)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
setup(
name="audio-diffusion-pytorch",
packages=find_packages(exclude=[]),
version="0.0.41",
version="0.0.42",
license="MIT",
description="Audio Diffusion - PyTorch",
long_description_content_type="text/markdown",
Expand Down

0 comments on commit a6df6bd

Please sign in to comment.