Skip to content

Commit 3f62f9b

Browse files
fix: remove unused kernel_sizes_init
1 parent 42bf374 commit 3f62f9b

File tree

4 files changed

+1
-8
lines changed

4 files changed

+1
-8
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ unet = UNet1d(
127127
channels=128,
128128
patch_blocks=16,
129129
patch_factor=1,
130-
kernel_sizes_init=[1, 3, 7],
131130
multipliers=[1, 2, 4, 4, 4, 4, 4],
132131
factors=[4, 4, 4, 2, 2, 2],
133132
attentions=[0, 0, 0, 1, 1, 1, 1],

audio_diffusion_pytorch/model.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ def __init__(
110110
channels: int,
111111
patch_blocks: int,
112112
patch_factor: int,
113-
kernel_sizes_init: Sequence[int],
114113
multipliers: Sequence[int],
115114
factors: Sequence[int],
116115
num_blocks: Sequence[int],
@@ -137,7 +136,6 @@ def __init__(
137136
multipliers=multipliers,
138137
factors=factors,
139138
num_blocks=encoder_num_blocks,
140-
kernel_sizes_init=kernel_sizes_init,
141139
kernel_multiplier_downsample=kernel_multiplier_downsample,
142140
resnet_groups=resnet_groups,
143141
)
@@ -147,7 +145,6 @@ def __init__(
147145
channels=channels,
148146
patch_blocks=patch_blocks,
149147
patch_factor=patch_factor,
150-
kernel_sizes_init=kernel_sizes_init,
151148
multipliers=multipliers,
152149
factors=factors,
153150
num_blocks=num_blocks,
@@ -204,7 +201,6 @@ def get_default_model_kwargs():
204201
channels=128,
205202
patch_blocks=1,
206203
patch_factor=16,
207-
kernel_sizes_init=[1, 3, 7],
208204
multipliers=[1, 2, 4, 4, 4, 4, 4],
209205
factors=[4, 4, 4, 2, 2, 2],
210206
num_blocks=[2, 2, 2, 2, 2, 2],

audio_diffusion_pytorch/modules.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,6 @@ def __init__(
806806
attention_multiplier: int,
807807
resnet_groups: int,
808808
kernel_multiplier_downsample: int,
809-
kernel_sizes_init: Sequence[int],
810809
use_nearest_upsample: bool,
811810
use_skip_scale: bool,
812811
use_context_time: bool,
@@ -1109,7 +1108,6 @@ def __init__(
11091108
patch_blocks: int,
11101109
resnet_groups: int,
11111110
kernel_multiplier_downsample: int,
1112-
kernel_sizes_init: Sequence[int],
11131111
num_layers: int,
11141112
latent_channels: int,
11151113
multipliers: Sequence[int],

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.45",
6+
version="0.0.46",
77
license="MIT",
88
description="Audio Diffusion - PyTorch",
99
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)