bitnimble commited on
Commit
5b9ca85
·
verified ·
1 Parent(s): 374e5ca

Upload 6 files

Browse files
MDX23C-DrumSep-aufr33-jarredou.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2a4aa53eb584d21eead358a4e66d1882ad182911be018f052b5da73be9096d0
3
+ size 437652699
config_bs_roformer_sw.yaml ADDED
@@ -0,0 +1,197 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ audio:
2
+ chunk_size: 588800 #882000
3
+ dim_f: 1024
4
+ dim_t: 801 # don't work (use in model)
5
+ hop_length: 441 # don't work (use in model)
6
+ n_fft: 2048
7
+ num_channels: 2
8
+ sample_rate: 44100
9
+ min_mean_abs: 0.000
10
+
11
+ model:
12
+ dim: 256
13
+ depth: 12
14
+ stereo: true
15
+ num_stems: 6
16
+ time_transformer_depth: 1
17
+ freq_transformer_depth: 1
18
+ linear_transformer_depth: 0
19
+ freqs_per_bands: !!python/tuple
20
+ - 2
21
+ - 2
22
+ - 2
23
+ - 2
24
+ - 2
25
+ - 2
26
+ - 2
27
+ - 2
28
+ - 2
29
+ - 2
30
+ - 2
31
+ - 2
32
+ - 2
33
+ - 2
34
+ - 2
35
+ - 2
36
+ - 2
37
+ - 2
38
+ - 2
39
+ - 2
40
+ - 2
41
+ - 2
42
+ - 2
43
+ - 2
44
+ - 4
45
+ - 4
46
+ - 4
47
+ - 4
48
+ - 4
49
+ - 4
50
+ - 4
51
+ - 4
52
+ - 4
53
+ - 4
54
+ - 4
55
+ - 4
56
+ - 12
57
+ - 12
58
+ - 12
59
+ - 12
60
+ - 12
61
+ - 12
62
+ - 12
63
+ - 12
64
+ - 24
65
+ - 24
66
+ - 24
67
+ - 24
68
+ - 24
69
+ - 24
70
+ - 24
71
+ - 24
72
+ - 48
73
+ - 48
74
+ - 48
75
+ - 48
76
+ - 48
77
+ - 48
78
+ - 48
79
+ - 48
80
+ - 128
81
+ - 129
82
+ dim_head: 64
83
+ heads: 8
84
+ attn_dropout: 0.1
85
+ ff_dropout: 0.1
86
+ flash_attn: true
87
+ dim_freqs_in: 1025
88
+ stft_n_fft: 2048
89
+ stft_hop_length: 512
90
+ stft_win_length: 2048
91
+ stft_normalized: false
92
+ mask_estimator_depth: 2
93
+ multi_stft_resolution_loss_weight: 1.0
94
+ multi_stft_resolutions_window_sizes: !!python/tuple
95
+ - 4096
96
+ - 2048
97
+ - 1024
98
+ - 512
99
+ - 256
100
+ multi_stft_hop_size: 147
101
+ multi_stft_normalized: False
102
+ mlp_expansion_factor: 4
103
+ use_torch_checkpoint: False # it allows to greatly reduce GPU memory consumption during training (not fully tested)
104
+ skip_connection: False # Enable skip connection between transformer blocks - can solve problem with gradients and probably faster training
105
+
106
+ training:
107
+ batch_size: 2
108
+ gradient_accumulation_steps: 1
109
+ grad_clip: 0
110
+ instruments: ['bass', 'drums', 'other', 'vocals', 'guitar', 'piano']
111
+ patience: 3
112
+ reduce_factor: 0.95
113
+ target_instrument: null
114
+ num_epochs: 1000
115
+ num_steps: 1000
116
+ augmentation: false # enable augmentations by audiomentations and pedalboard
117
+ augmentation_type: simple1
118
+ use_mp3_compress: false # Deprecated
119
+ augmentation_mix: true # Mix several stems of the same type with some probability
120
+ augmentation_loudness: true # randomly change loudness of each stem
121
+ augmentation_loudness_type: 1 # Type 1 or 2
122
+ augmentation_loudness_min: 0.5
123
+ augmentation_loudness_max: 1.5
124
+ q: 0.95
125
+ coarse_loss_clip: true
126
+ ema_momentum: 0.999
127
+ # optimizer: prodigy
128
+ optimizer: adam
129
+ # lr: 1.0
130
+ lr: 1.0e-5
131
+ other_fix: false # it's needed for checking on multisong dataset if other is actually instrumental
132
+ use_amp: true # enable or disable usage of mixed precision (float16) - usually it must be true
133
+
134
+ augmentations:
135
+ enable: true # enable or disable all augmentations (to fast disable if needed)
136
+ loudness: true # randomly change loudness of each stem on the range (loudness_min; loudness_max)
137
+ loudness_min: 0.5
138
+ loudness_max: 1.5
139
+ mixup: true # mix several stems of same type with some probability (only works for dataset types: 1, 2, 3)
140
+ mixup_probs: !!python/tuple # 2 additional stems of the same type (1st with prob 0.2, 2nd with prob 0.02)
141
+ - 0.2
142
+ - 0.02
143
+ mixup_loudness_min: 0.5
144
+ mixup_loudness_max: 1.5
145
+
146
+ all:
147
+ channel_shuffle: 0.5 # Set 0 or lower to disable
148
+ random_inverse: 0.1 # inverse track (better lower probability)
149
+ random_polarity: 0.5 # polarity change (multiply waveform to -1)
150
+
151
+ vocals:
152
+ pitch_shift: 0.1
153
+ pitch_shift_min_semitones: -5
154
+ pitch_shift_max_semitones: 5
155
+ seven_band_parametric_eq: 0.1
156
+ seven_band_parametric_eq_min_gain_db: -9
157
+ seven_band_parametric_eq_max_gain_db: 9
158
+ tanh_distortion: 0.1
159
+ tanh_distortion_min: 0.1
160
+ tanh_distortion_max: 0.7
161
+ bass:
162
+ pitch_shift: 0.1
163
+ pitch_shift_min_semitones: -2
164
+ pitch_shift_max_semitones: 2
165
+ seven_band_parametric_eq: 0.1
166
+ seven_band_parametric_eq_min_gain_db: -3
167
+ seven_band_parametric_eq_max_gain_db: 6
168
+ tanh_distortion: 0.1
169
+ tanh_distortion_min: 0.1
170
+ tanh_distortion_max: 0.5
171
+ drums:
172
+ pitch_shift: 0.1
173
+ pitch_shift_min_semitones: -5
174
+ pitch_shift_max_semitones: 5
175
+ seven_band_parametric_eq: 0.1
176
+ seven_band_parametric_eq_min_gain_db: -9
177
+ seven_band_parametric_eq_max_gain_db: 9
178
+ tanh_distortion: 0.1
179
+ tanh_distortion_min: 0.1
180
+ tanh_distortion_max: 0.6
181
+ other:
182
+ pitch_shift: 0.1
183
+ pitch_shift_min_semitones: -4
184
+ pitch_shift_max_semitones: 4
185
+ gaussian_noise: 0.1
186
+ gaussian_noise_min_amplitude: 0.001
187
+ gaussian_noise_max_amplitude: 0.015
188
+ time_stretch: 0.1
189
+ time_stretch_min_rate: 0.8
190
+ time_stretch_max_rate: 1.25
191
+
192
+
193
+ inference:
194
+ batch_size: 1
195
+ dim_t: 1101
196
+ num_overlap: 2
197
+ normalize: false
config_drumsep_5stems_mdx23c.yaml ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ audio:
2
+ chunk_size: 523776
3
+ dim_f: 1024
4
+ dim_t: 1024
5
+ hop_length: 512
6
+ n_fft: 2048
7
+ num_channels: 2
8
+ sample_rate: 44100
9
+ min_mean_abs: 0.000
10
+
11
+ model:
12
+ act: gelu
13
+ bottleneck_factor: 4
14
+ growth: 128
15
+ norm: InstanceNorm
16
+ num_blocks_per_scale: 2
17
+ num_channels: 128
18
+ num_scales: 5
19
+ num_subbands: 4
20
+ scale:
21
+ - 2
22
+ - 2
23
+
24
+ training:
25
+ batch_size: 2
26
+ gradient_accumulation_steps: 4
27
+ grad_clip: 0
28
+ instruments:
29
+ - kick
30
+ - snare
31
+ - toms
32
+ - hh
33
+ - cymbals
34
+ lr: 1.0
35
+ patience: 200
36
+ reduce_factor: 0.95
37
+ target_instrument: null
38
+ num_epochs: 1000
39
+ num_steps: 1533
40
+ q: 0.95
41
+ coarse_loss_clip: true
42
+ ema_momentum: 0.999
43
+ optimizer: prodigy
44
+ other_fix: false # it's needed for checking on multisong dataset if other is actually instrumental
45
+ use_amp: true # enable or disable usage of mixed precision (float16) - usually it must be true
46
+
47
+ loss_multistft:
48
+ fft_sizes:
49
+ - 2048
50
+ hop_sizes:
51
+ - 1024
52
+ win_lengths:
53
+ - 2048
54
+ window: "hann_window"
55
+ sample_rate: 44100
56
+ perceptual_weighting: false
57
+ scale: "mel"
58
+ n_bins: 128
59
+ w_sc: 0.0
60
+ w_log_mag: 1.0
61
+ w_lin_mag: 0.0
62
+ w_phs: 0.0
63
+ mag_distance: "L1"
64
+
65
+ inference:
66
+ extension: flac
67
+ batch_size: 2
68
+ dim_t: 512
69
+ num_overlap: 4
70
+ normalize: false
config_drumsep_mdx23c.yaml ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ audio:
2
+ chunk_size: 130560
3
+ dim_f: 1024
4
+ dim_t: 256
5
+ hop_length: 512
6
+ n_fft: 2048
7
+ num_channels: 2
8
+ sample_rate: 44100
9
+ min_mean_abs: 0.001
10
+
11
+ model:
12
+ act: gelu
13
+ bottleneck_factor: 4
14
+ growth: 128
15
+ norm: InstanceNorm
16
+ num_blocks_per_scale: 2
17
+ num_channels: 128
18
+ num_scales: 5
19
+ num_subbands: 4
20
+ scale:
21
+ - 2
22
+ - 2
23
+
24
+ training:
25
+ batch_size: 12
26
+ gradient_accumulation_steps: 1
27
+ grad_clip: 0
28
+ instruments:
29
+ - kick
30
+ - snare
31
+ - toms
32
+ - hh
33
+ - ride
34
+ - crash
35
+ lr: 9.0e-05
36
+ patience: 30
37
+ reduce_factor: 0.95
38
+ target_instrument: null
39
+ num_epochs: 1000
40
+ num_steps: 1268
41
+ q: 0.95
42
+ coarse_loss_clip: true
43
+ ema_momentum: 0.999
44
+ optimizer: adam
45
+ other_fix: false # it's needed for checking on multisong dataset if other is actually instrumental
46
+ use_amp: true # enable or disable usage of mixed precision (float16) - usually it must be true
47
+
48
+ augmentations:
49
+ enable: true # enable or disable all augmentations (to fast disable if needed)
50
+ loudness: true # randomly change loudness of each stem on the range (loudness_min; loudness_max)
51
+ loudness_min: 0.5
52
+ loudness_max: 1.5
53
+ mixup: true # mix several stems of same type with some probability (only works for dataset types: 1, 2, 3)
54
+ mixup_probs: !!python/tuple # 2 additional stems of the same type (1st with prob 0.2, 2nd with prob 0.02)
55
+ - 0.2
56
+ - 0.02
57
+ mixup_loudness_min: 0.5
58
+ mixup_loudness_max: 1.5
59
+
60
+ # apply mp3 compression to mixture only (emulate downloading mp3 from internet)
61
+ mp3_compression_on_mixture: 0.0
62
+ mp3_compression_on_mixture_bitrate_min: 32
63
+ mp3_compression_on_mixture_bitrate_max: 320
64
+ mp3_compression_on_mixture_backend: "lameenc"
65
+
66
+ all:
67
+ channel_shuffle: 0.5 # Set 0 or lower to disable
68
+ random_inverse: 0.01 # inverse track (better lower probability)
69
+ random_polarity: 0.5 # polarity change (multiply waveform to -1)
70
+ mp3_compression: 0.0
71
+ mp3_compression_min_bitrate: 32
72
+ mp3_compression_max_bitrate: 320
73
+ mp3_compression_backend: "lameenc"
74
+ pitch_shift: 0.1
75
+ pitch_shift_min_semitones: -3
76
+ pitch_shift_max_semitones: 3
77
+ seven_band_parametric_eq: 0.5
78
+ seven_band_parametric_eq_min_gain_db: -6
79
+ seven_band_parametric_eq_max_gain_db: 6
80
+ tanh_distortion: 0.2
81
+ tanh_distortion_min: 0.1
82
+ tanh_distortion_max: 0.5
83
+
84
+ inference:
85
+ batch_size: 1
86
+ dim_t: 256
87
+ num_overlap: 4
drumsep_5stems_mdx23c_jarredou.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f8e636fb674b88a52c8399fde9a4ebe2b72b065ca07eed4e03ab1c9f0bfb2e0
3
+ size 437648758
model_bs_roformer_sw.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24e7d35ee9c64415673d3fd33e06a67cac2c103c5df6267ba1576459c775916e
3
+ size 699412152