Skip to content

Commit a5250b4

Browse files
committed
Updated DPTnet to latest cfg
1 parent 546a56c commit a5250b4

File tree

3 files changed

+48
-8
lines changed

3 files changed

+48
-8
lines changed

cfg/dpt.yaml

+46-7
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ ckpt_path: null
5656
model:
5757
class_path: aimless.lightning.waveform.WaveformSeparator
5858
init_args:
59-
model:
59+
model:
6060
class_path: aimless.models.dpt.DPT
6161
init_args:
6262
channels: 2
@@ -73,13 +73,13 @@ model:
7373
transformer_nonlinearity: GELU
7474
post_transformer_prelu: true
7575
mask_nonlinearity: ReLU
76-
criterion:
76+
criterion:
7777
class_path: aimless.loss.time.L1Loss
7878
transforms:
7979
- class_path: aimless.augment.SpeedPerturb
8080
init_args:
8181
orig_freq: 44100
82-
speeds:
82+
speeds:
8383
- 90
8484
- 100
8585
- 110
@@ -101,12 +101,51 @@ data:
101101
seq_duration: 10.0
102102
samples_per_track: 500
103103
transforms:
104-
- class_path: data.augment.RandomGain
105-
- class_path: data.augment.RandomFlipPhase
106-
- class_path: data.augment.RandomSwapLR
107-
- class_path: data.augment.LimitAug
104+
- class_path: data.augment.RandomParametricEQ
108105
init_args:
109106
sample_rate: 44100
107+
p: 0.7
108+
- class_path: data.augment.RandomPedalboardDistortion
109+
init_args:
110+
sample_rate: 44100
111+
p: 0.01
112+
- class_path: data.augment.RandomPedalboardDelay
113+
init_args:
114+
sample_rate: 44100
115+
p: 0.02
116+
- class_path: data.augment.RandomPedalboardChorus
117+
init_args:
118+
sample_rate: 44100
119+
p: 0.01
120+
- class_path: data.augment.RandomPedalboardPhaser
121+
init_args:
122+
sample_rate: 44100
123+
p: 0.01
124+
- class_path: data.augment.RandomPedalboardCompressor
125+
init_args:
126+
sample_rate: 44100
127+
p: 0.5
128+
- class_path: data.augment.RandomPedalboardReverb
129+
init_args:
130+
sample_rate: 44100
131+
p: 0.2
132+
- class_path: data.augment.RandomStereoWidener
133+
init_args:
134+
sample_rate: 44100
135+
p: 0.3
136+
- class_path: data.augment.RandomPedalboardLimiter
137+
init_args:
138+
sample_rate: 44100
139+
p: 0.1
140+
- class_path: data.augment.RandomVolumeAutomation
141+
init_args:
142+
sample_rate: 44100
143+
p: 0.1
144+
- class_path: data.augment.LoudnessNormalize
145+
init_args:
146+
sample_rate: 44100
147+
target_lufs_db: -32.0
148+
p: 1.0
110149
random: true
111150
random_track_mix: true
112151
batch_size: 4

environment.yml

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ dependencies:
1111
- torchaudio
1212
- torchvision
1313
- cudatoolkit=11.7
14+
- einops
1415
- pip:
1516
- pytorch-lightning[extra]
1617
- torch-optimizer

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
author="Artificial Intelligence and Music League for Effective Source Separation",
77
author_email="chin-yun.yu@qmul.ac.uk",
88
packages=setuptools.find_packages(exclude=["tests", "tests.*", "data", "data.*"]),
9-
install_requires=["torch", "pytorch-lightning", "torch_fftconv", "einops"],
9+
install_requires=["torch", "pytorch-lightning", "torch_fftconv"],
1010
extras_require={"dev": ["pytest", "pytest-mock"]},
1111
classifiers=[
1212
"Programming Language :: Python :: 3",

0 commit comments

Comments
 (0)