File size: 10,398 Bytes
053e140
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
{
  "klass": "demucs.htdemucs.HTDemucs",
  "args": "[]",
  "kwargs": "{\"sources\": [\"drums\", \"bass\", \"other\", \"vocals\", \"guitar\", \"piano\"], \"audio_channels\": 2, \"samplerate\": 44100, \"segment\": {\"_type\": \"fraction\", \"numerator\": 39, \"denominator\": 5}, \"channels\": 48, \"channels_time\": null, \"growth\": 2, \"nfft\": 4096, \"wiener_iters\": 0, \"end_iters\": 0, \"wiener_residual\": false, \"cac\": true, \"depth\": 4, \"rewrite\": true, \"multi_freqs\": [], \"multi_freqs_depth\": 3, \"freq_emb\": 0.2, \"emb_scale\": 10, \"emb_smooth\": true, \"kernel_size\": 8, \"stride\": 4, \"time_stride\": 2, \"context\": 1, \"context_enc\": 0, \"norm_starts\": 4, \"norm_groups\": 4, \"dconv_mode\": 3, \"dconv_depth\": 2, \"dconv_comp\": 8, \"dconv_init\": 0.001, \"bottom_channels\": 0, \"t_layers\": 5, \"t_hidden_scale\": 4.0, \"t_heads\": 8, \"t_dropout\": 0.02, \"t_layer_scale\": true, \"t_gelu\": true, \"t_emb\": \"sin\", \"t_max_positions\": 10000, \"t_max_period\": 10000.0, \"t_weight_pos_embed\": 1.0, \"t_cape_mean_normalize\": true, \"t_cape_augment\": true, \"t_cape_glob_loc_scale\": [5000.0, 1.0, 1.4], \"t_sin_random_shift\": 0, \"t_norm_in\": true, \"t_norm_in_group\": false, \"t_group_norm\": false, \"t_norm_first\": true, \"t_norm_out\": true, \"t_weight_decay\": 0.0, \"t_lr\": null, \"t_sparse_self_attn\": false, \"t_sparse_cross_attn\": false, \"t_mask_type\": \"diag\", \"t_mask_random_seed\": 42, \"t_sparse_attn_window\": 400, \"t_global_window\": 100, \"t_sparsity\": 0.95, \"t_auto_sparsity\": false, \"t_cross_first\": false, \"rescale\": 0.1}",
  "training_args": {
    "dummy": null,
    "dset": {
      "musdb": "/checkpoint/defossez/datasets/musdbhq",
      "musdb_samplerate": 44100,
      "wav": "/checkpoint/defossez/datasets/mmi44_6_goodclean/",
      "wav2": null,
      "segment": 10,
      "shift": 1,
      "train_valid": false,
      "full_cv": true,
      "samplerate": 44100,
      "channels": 2,
      "normalize": true,
      "metadata": "./metadata",
      "sources": [
        "drums",
        "bass",
        "other",
        "vocals",
        "guitar",
        "piano"
      ],
      "valid_samples": 100,
      "test_mapping": {
        "0": 0,
        "1": 1,
        "2": 2,
        "3": 3,
        "4": 2,
        "5": 2
      }
    },
    "test": {
      "save": false,
      "ignore": true,
      "best": true,
      "workers": 2,
      "every": 20,
      "split": true,
      "shifts": 0,
      "overlap": 0.25,
      "sdr": true,
      "metric": "loss",
      "nonhq": null
    },
    "epochs": 1200,
    "batch_size": 32,
    "max_batches": 800,
    "optim": {
      "lr": 1,
      "momentum": 0.9,
      "beta2": 0.999,
      "loss": "l1",
      "optim": "dadam",
      "weight_decay": 0,
      "clip_grad": 0
    },
    "seed": 42,
    "debug": false,
    "valid_apply": true,
    "flag": null,
    "save_every": null,
    "weights": [
      1.0,
      1.0,
      1.0,
      1.0,
      1.0,
      1.0
    ],
    "augment": {
      "shift_same": false,
      "repitch": {
        "proba": 0.2,
        "max_tempo": 12
      },
      "remix": {
        "proba": 1,
        "group_size": 4
      },
      "scale": {
        "proba": 1,
        "min": 0.25,
        "max": 1.25
      },
      "flip": true
    },
    "continue_from": null,
    "continue_pretrained": null,
    "pretrained_repo": null,
    "continue_best": true,
    "continue_opt": false,
    "misc": {
      "num_workers": 10,
      "num_prints": 4,
      "show": false,
      "verbose": false
    },
    "ema": {
      "epoch": [],
      "batch": [
        0.9995,
        0.9999
      ]
    },
    "use_train_segment": true,
    "model_segment": null,
    "model": "htdemucs",
    "demucs": {
      "channels": 64,
      "growth": 2,
      "depth": 6,
      "rewrite": true,
      "lstm_layers": 0,
      "kernel_size": 8,
      "stride": 4,
      "context": 1,
      "gelu": true,
      "glu": true,
      "norm_groups": 4,
      "norm_starts": 4,
      "dconv_depth": 2,
      "dconv_mode": 1,
      "dconv_comp": 4,
      "dconv_attn": 4,
      "dconv_lstm": 4,
      "dconv_init": 0.0001,
      "resample": true,
      "normalize": false,
      "rescale": 0.1
    },
    "hdemucs": {
      "channels": 48,
      "channels_time": null,
      "growth": 2,
      "nfft": 4096,
      "wiener_iters": 0,
      "end_iters": 0,
      "wiener_residual": false,
      "cac": true,
      "depth": 6,
      "rewrite": true,
      "hybrid": true,
      "hybrid_old": false,
      "multi_freqs": [],
      "multi_freqs_depth": 3,
      "freq_emb": 0.2,
      "emb_scale": 10,
      "emb_smooth": true,
      "kernel_size": 8,
      "stride": 4,
      "time_stride": 2,
      "context": 1,
      "context_enc": 0,
      "norm_starts": 4,
      "norm_groups": 4,
      "dconv_mode": 1,
      "dconv_depth": 2,
      "dconv_comp": 4,
      "dconv_attn": 4,
      "dconv_lstm": 4,
      "dconv_init": 0.001,
      "rescale": 0.1
    },
    "torch_hdemucs": {
      "channels": 48,
      "growth": 2,
      "nfft": 4096,
      "depth": 6,
      "freq_emb": 0.2,
      "emb_scale": 10,
      "emb_smooth": true,
      "kernel_size": 8,
      "stride": 4,
      "time_stride": 2,
      "context": 1,
      "context_enc": 0,
      "norm_starts": 4,
      "norm_groups": 4,
      "dconv_depth": 2,
      "dconv_comp": 4,
      "dconv_attn": 4,
      "dconv_lstm": 4,
      "dconv_init": 0.001
    },
    "htdemucs": {
      "channels": 48,
      "channels_time": null,
      "growth": 2,
      "nfft": 4096,
      "wiener_iters": 0,
      "end_iters": 0,
      "wiener_residual": false,
      "cac": true,
      "depth": 4,
      "rewrite": true,
      "multi_freqs": [],
      "multi_freqs_depth": 3,
      "freq_emb": 0.2,
      "emb_scale": 10,
      "emb_smooth": true,
      "kernel_size": 8,
      "stride": 4,
      "time_stride": 2,
      "context": 1,
      "context_enc": 0,
      "norm_starts": 4,
      "norm_groups": 4,
      "dconv_mode": 3,
      "dconv_depth": 2,
      "dconv_comp": 8,
      "dconv_init": 0.001,
      "bottom_channels": 0,
      "t_layers": 5,
      "t_hidden_scale": 4.0,
      "t_heads": 8,
      "t_dropout": 0.02,
      "t_layer_scale": true,
      "t_gelu": true,
      "t_emb": "sin",
      "t_max_positions": 10000,
      "t_max_period": 10000.0,
      "t_weight_pos_embed": 1.0,
      "t_cape_mean_normalize": true,
      "t_cape_augment": true,
      "t_cape_glob_loc_scale": [
        5000.0,
        1.0,
        1.4
      ],
      "t_sin_random_shift": 0,
      "t_norm_in": true,
      "t_norm_in_group": false,
      "t_group_norm": false,
      "t_norm_first": true,
      "t_norm_out": true,
      "t_weight_decay": 0.0,
      "t_lr": null,
      "t_sparse_self_attn": false,
      "t_sparse_cross_attn": false,
      "t_mask_type": "diag",
      "t_mask_random_seed": 42,
      "t_sparse_attn_window": 400,
      "t_global_window": 100,
      "t_sparsity": 0.95,
      "t_auto_sparsity": false,
      "t_cross_first": false,
      "rescale": 0.1
    },
    "svd": {
      "penalty": 0,
      "min_size": 0.1,
      "dim": 1,
      "niters": 2,
      "powm": false,
      "proba": 1,
      "conv_only": false,
      "convtr": false,
      "bs": 1
    },
    "quant": {
      "diffq": null,
      "qat": null,
      "min_size": 0.2,
      "group_size": 8
    },
    "dora": {
      "dir": "outputs",
      "exclude": [
        "misc.*",
        "slurm.*",
        "test.reval",
        "flag"
      ]
    },
    "slurm": {
      "time": 4320,
      "constraint": "volta32gb",
      "setup": [
        "module load cudnn/v8.4.1.50-cuda.11.6 NCCL/2.11.4-6-cuda.11.6 cuda/11.6"
      ]
    }
  },
  "metrics": [
    {
      "main": {
        "loss": 0.10034964233636856,
        "ms": 0.0,
        "nsdr": 1.5866526365280151,
        "nsdr_bass": 12.272424697875977,
        "nsdr_drums": 10.961311340332031,
        "nsdr_guitar": -3.8812592029571533,
        "nsdr_other": 0.06387379765510559,
        "nsdr_piano": -19.771583557128906,
        "nsdr_vocals": 9.875147819519043,
        "reco": 0.10034964233636856,
        "reco_bass": 0.07725755125284195,
        "reco_drums": 0.09140598028898239,
        "reco_guitar": 0.1247430145740509,
        "reco_other": 0.13675883412361145,
        "reco_piano": 0.08195150643587112,
        "reco_vocals": 0.08998101204633713
      },
      "ema_batch_0": {
        "loss": 0.098113052546978,
        "ms": 0.0,
        "nsdr": 2.0207419395446777,
        "nsdr_bass": 12.352989196777344,
        "nsdr_drums": 11.036789894104004,
        "nsdr_guitar": -2.9522860050201416,
        "nsdr_other": -0.0220707505941391,
        "nsdr_piano": -18.219148635864258,
        "nsdr_vocals": 9.928177833557129,
        "reco": 0.098113052546978,
        "reco_bass": 0.07634458690881729,
        "reco_drums": 0.09068022668361664,
        "reco_guitar": 0.11805238574743271,
        "reco_other": 0.13383811712265015,
        "reco_piano": 0.08035173267126083,
        "reco_vocals": 0.08941121399402618
      },
      "ema_batch_1": {
        "loss": 0.0979255735874176,
        "ms": 0.0,
        "nsdr": 2.123673915863037,
        "nsdr_bass": 12.401031494140625,
        "nsdr_drums": 11.059276580810547,
        "nsdr_guitar": -2.6353914737701416,
        "nsdr_other": 0.17213767766952515,
        "nsdr_piano": -18.191736221313477,
        "nsdr_vocals": 9.936728477478027,
        "reco": 0.0979255735874176,
        "reco_bass": 0.07614174485206604,
        "reco_drums": 0.09051032364368439,
        "reco_guitar": 0.11791909486055374,
        "reco_other": 0.13334940373897552,
        "reco_piano": 0.0803024172782898,
        "reco_vocals": 0.08933044224977493
      },
      "loss": 0.0979255735874176,
      "ms": 0.0,
      "nsdr": 2.123673915863037,
      "nsdr_bass": 12.401031494140625,
      "nsdr_drums": 11.059276580810547,
      "nsdr_guitar": -2.6353914737701416,
      "nsdr_other": 0.17213767766952515,
      "nsdr_piano": -18.191736221313477,
      "nsdr_vocals": 9.936728477478027,
      "reco": 0.0979255735874176,
      "reco_bass": 0.07614174485206604,
      "reco_drums": 0.09051032364368439,
      "reco_guitar": 0.11791909486055374,
      "reco_other": 0.13334940373897552,
      "reco_piano": 0.0803024172782898,
      "reco_vocals": 0.08933044224977493,
      "bname": "ema_batch_1",
      "best": 0.09789474308490753
    },
    null
  ]
}