Skip to content

Commit

Permalink
Updated DPTnet to latest cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
mhrice committed Mar 1, 2023
1 parent 9bae0d8 commit f712a35
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 8 deletions.
53 changes: 46 additions & 7 deletions cfg/dpt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ ckpt_path: null
model:
class_path: aimless.lightning.waveform.WaveformSeparator
init_args:
model:
model:
class_path: aimless.models.dpt.DPT
init_args:
channels: 2
Expand All @@ -73,13 +73,13 @@ model:
transformer_nonlinearity: GELU
post_transformer_prelu: true
mask_nonlinearity: ReLU
criterion:
criterion:
class_path: aimless.loss.time.L1Loss
transforms:
- class_path: aimless.augment.SpeedPerturb
init_args:
orig_freq: 44100
speeds:
speeds:
- 90
- 100
- 110
Expand All @@ -101,12 +101,51 @@ data:
seq_duration: 10.0
samples_per_track: 500
transforms:
- class_path: data.augment.RandomGain
- class_path: data.augment.RandomFlipPhase
- class_path: data.augment.RandomSwapLR
- class_path: data.augment.LimitAug
- class_path: data.augment.RandomParametricEQ
init_args:
sample_rate: 44100
p: 0.7
- class_path: data.augment.RandomPedalboardDistortion
init_args:
sample_rate: 44100
p: 0.01
- class_path: data.augment.RandomPedalboardDelay
init_args:
sample_rate: 44100
p: 0.02
- class_path: data.augment.RandomPedalboardChorus
init_args:
sample_rate: 44100
p: 0.01
- class_path: data.augment.RandomPedalboardPhaser
init_args:
sample_rate: 44100
p: 0.01
- class_path: data.augment.RandomPedalboardCompressor
init_args:
sample_rate: 44100
p: 0.5
- class_path: data.augment.RandomPedalboardReverb
init_args:
sample_rate: 44100
p: 0.2
- class_path: data.augment.RandomStereoWidener
init_args:
sample_rate: 44100
p: 0.3
- class_path: data.augment.RandomPedalboardLimiter
init_args:
sample_rate: 44100
p: 0.1
- class_path: data.augment.RandomVolumeAutomation
init_args:
sample_rate: 44100
p: 0.1
- class_path: data.augment.LoudnessNormalize
init_args:
sample_rate: 44100
target_lufs_db: -32.0
p: 1.0
random: true
random_track_mix: true
batch_size: 4
Expand Down
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ dependencies:
- torchaudio
- torchvision
- cudatoolkit=11.7
- einops
- pip:
- pytorch-lightning[extra]
- torch-optimizer
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
author="Artificial Intelligence and Music League for Effective Source Separation",
author_email="[email protected]",
packages=setuptools.find_packages(exclude=["tests", "tests.*", "data", "data.*"]),
install_requires=["torch", "pytorch-lightning", "torch_fftconv", "einops"],
install_requires=["torch", "pytorch-lightning", "torch_fftconv"],
extras_require={"dev": ["pytest", "pytest-mock"]},
classifiers=[
"Programming Language :: Python :: 3",
Expand Down

0 comments on commit f712a35

Please sign in to comment.