listra92 commited on
Commit
df0e4c2
·
verified ·
1 Parent(s): d95006c

Upload 2 files

Browse files
Files changed (2) hide show
  1. misc/config.yaml +194 -0
  2. misc/last_bs_roformer.ckpt +3 -0
misc/config.yaml ADDED
@@ -0,0 +1,194 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ audio:
2
+ chunk_size: 485100
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: 384
13
+ depth: 8
14
+ stereo: true
15
+ num_stems: 4
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: 441
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: 2
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: 1
108
+ gradient_accumulation_steps: 16
109
+ grad_clip: 0
110
+ instruments: ['drums', 'bass', 'other', 'vocals']
111
+ patience: 3
112
+ reduce_factor: 0.95
113
+ target_instrument: null
114
+ num_epochs: 10000
115
+ num_steps: 100
116
+ augmentation: true # 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.25
123
+ augmentation_loudness_max: 2
124
+ q: 0.95
125
+ coarse_loss_clip: true
126
+ ema_momentum: 0.999
127
+ optimizer: prodigy
128
+ lr: 1.0
129
+ other_fix: false # it's needed for checking on multisong dataset if other is actually instrumental
130
+ use_amp: true # enable or disable usage of mixed precision (float16) - usually it must be true
131
+
132
+ augmentations:
133
+ enable: true # enable or disable all augmentations (to fast disable if needed)
134
+ loudness: true # randomly change loudness of each stem on the range (loudness_min; loudness_max)
135
+ loudness_min: 0.5
136
+ loudness_max: 1.5
137
+ mixup: true # mix several stems of same type with some probability (only works for dataset types: 1, 2, 3)
138
+ mixup_probs: !!python/tuple # 2 additional stems of the same type (1st with prob 0.2, 2nd with prob 0.02)
139
+ - 0.2
140
+ - 0.02
141
+ mixup_loudness_min: 0.5
142
+ mixup_loudness_max: 1.5
143
+
144
+ all:
145
+ channel_shuffle: 0.5 # Set 0 or lower to disable
146
+ random_inverse: 0.1 # inverse track (better lower probability)
147
+ random_polarity: 0.5 # polarity change (multiply waveform to -1)
148
+
149
+ vocals:
150
+ pitch_shift: 0.1
151
+ pitch_shift_min_semitones: -5
152
+ pitch_shift_max_semitones: 5
153
+ seven_band_parametric_eq: 0.1
154
+ seven_band_parametric_eq_min_gain_db: -9
155
+ seven_band_parametric_eq_max_gain_db: 9
156
+ tanh_distortion: 0.1
157
+ tanh_distortion_min: 0.1
158
+ tanh_distortion_max: 0.7
159
+ bass:
160
+ pitch_shift: 0.1
161
+ pitch_shift_min_semitones: -2
162
+ pitch_shift_max_semitones: 2
163
+ seven_band_parametric_eq: 0.1
164
+ seven_band_parametric_eq_min_gain_db: -3
165
+ seven_band_parametric_eq_max_gain_db: 6
166
+ tanh_distortion: 0.1
167
+ tanh_distortion_min: 0.1
168
+ tanh_distortion_max: 0.5
169
+ drums:
170
+ pitch_shift: 0.1
171
+ pitch_shift_min_semitones: -5
172
+ pitch_shift_max_semitones: 5
173
+ seven_band_parametric_eq: 0.1
174
+ seven_band_parametric_eq_min_gain_db: -9
175
+ seven_band_parametric_eq_max_gain_db: 9
176
+ tanh_distortion: 0.1
177
+ tanh_distortion_min: 0.1
178
+ tanh_distortion_max: 0.6
179
+ other:
180
+ pitch_shift: 0.1
181
+ pitch_shift_min_semitones: -4
182
+ pitch_shift_max_semitones: 4
183
+ gaussian_noise: 0.1
184
+ gaussian_noise_min_amplitude: 0.001
185
+ gaussian_noise_max_amplitude: 0.015
186
+ time_stretch: 0.1
187
+ time_stretch_min_rate: 0.8
188
+ time_stretch_max_rate: 1.25
189
+
190
+
191
+ inference:
192
+ batch_size: 2
193
+ dim_t: 1101
194
+ num_overlap: 2
misc/last_bs_roformer.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8ee93efe38e377b059e1e94c9831371df8870c0aefb43c6c69a824e03f622aa
3
+ size 527380182