ChenTechnology commited on
Commit
995b0ec
·
verified ·
1 Parent(s): f4f58f9

Upload logic_pro_config_v1.yaml

Browse files
Files changed (1) hide show
  1. logic_pro_config_v1.yaml +198 -0
logic_pro_config_v1.yaml ADDED
@@ -0,0 +1,198 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ audio:
2
+ chunk_size: 588800
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
+ use_shared_bias: True
106
+
107
+ training:
108
+ batch_size: 2
109
+ gradient_accumulation_steps: 1
110
+ grad_clip: 0
111
+ instruments: ['bass', 'drums', 'other', 'vocals', 'guitar', 'piano']
112
+ patience: 3
113
+ reduce_factor: 0.95
114
+ target_instrument: null
115
+ num_epochs: 1000
116
+ num_steps: 1000
117
+ augmentation: false # enable augmentations by audiomentations and pedalboard
118
+ augmentation_type: simple1
119
+ use_mp3_compress: false # Deprecated
120
+ augmentation_mix: true # Mix several stems of the same type with some probability
121
+ augmentation_loudness: true # randomly change loudness of each stem
122
+ augmentation_loudness_type: 1 # Type 1 or 2
123
+ augmentation_loudness_min: 0.5
124
+ augmentation_loudness_max: 1.5
125
+ q: 0.95
126
+ coarse_loss_clip: true
127
+ ema_momentum: 0.999
128
+ # optimizer: prodigy
129
+ optimizer: adam
130
+ # lr: 1.0
131
+ lr: 1.0e-5
132
+ other_fix: false # it's needed for checking on multisong dataset if other is actually instrumental
133
+ use_amp: true # enable or disable usage of mixed precision (float16) - usually it must be true
134
+
135
+ augmentations:
136
+ enable: true # enable or disable all augmentations (to fast disable if needed)
137
+ loudness: true # randomly change loudness of each stem on the range (loudness_min; loudness_max)
138
+ loudness_min: 0.5
139
+ loudness_max: 1.5
140
+ mixup: true # mix several stems of same type with some probability (only works for dataset types: 1, 2, 3)
141
+ mixup_probs: !!python/tuple # 2 additional stems of the same type (1st with prob 0.2, 2nd with prob 0.02)
142
+ - 0.2
143
+ - 0.02
144
+ mixup_loudness_min: 0.5
145
+ mixup_loudness_max: 1.5
146
+
147
+ all:
148
+ channel_shuffle: 0.5 # Set 0 or lower to disable
149
+ random_inverse: 0.1 # inverse track (better lower probability)
150
+ random_polarity: 0.5 # polarity change (multiply waveform to -1)
151
+
152
+ vocals:
153
+ pitch_shift: 0.1
154
+ pitch_shift_min_semitones: -5
155
+ pitch_shift_max_semitones: 5
156
+ seven_band_parametric_eq: 0.1
157
+ seven_band_parametric_eq_min_gain_db: -9
158
+ seven_band_parametric_eq_max_gain_db: 9
159
+ tanh_distortion: 0.1
160
+ tanh_distortion_min: 0.1
161
+ tanh_distortion_max: 0.7
162
+ bass:
163
+ pitch_shift: 0.1
164
+ pitch_shift_min_semitones: -2
165
+ pitch_shift_max_semitones: 2
166
+ seven_band_parametric_eq: 0.1
167
+ seven_band_parametric_eq_min_gain_db: -3
168
+ seven_band_parametric_eq_max_gain_db: 6
169
+ tanh_distortion: 0.1
170
+ tanh_distortion_min: 0.1
171
+ tanh_distortion_max: 0.5
172
+ drums:
173
+ pitch_shift: 0.1
174
+ pitch_shift_min_semitones: -5
175
+ pitch_shift_max_semitones: 5
176
+ seven_band_parametric_eq: 0.1
177
+ seven_band_parametric_eq_min_gain_db: -9
178
+ seven_band_parametric_eq_max_gain_db: 9
179
+ tanh_distortion: 0.1
180
+ tanh_distortion_min: 0.1
181
+ tanh_distortion_max: 0.6
182
+ other:
183
+ pitch_shift: 0.1
184
+ pitch_shift_min_semitones: -4
185
+ pitch_shift_max_semitones: 4
186
+ gaussian_noise: 0.1
187
+ gaussian_noise_min_amplitude: 0.001
188
+ gaussian_noise_max_amplitude: 0.015
189
+ time_stretch: 0.1
190
+ time_stretch_min_rate: 0.8
191
+ time_stretch_max_rate: 1.25
192
+
193
+
194
+ inference:
195
+ batch_size: 2
196
+ dim_t: 1101
197
+ num_overlap: 2
198
+ normalize: false