lamooon commited on
Commit
500f01c
·
verified ·
1 Parent(s): d91bd1a

migrate batch 1/1 from lamooon/vocal-v1

Browse files
logs/vocal_e1_20260320_232954.log ADDED
The diff for this file is too large to render. See raw diff
 
logs/vocal_e2_20260321_115807.log ADDED
The diff for this file is too large to render. See raw diff
 
logs/vocal_e3_lw1e-2_20260321_171044.log ADDED
The diff for this file is too large to render. See raw diff
 
logs/vocal_e3_lw1e-2_20260321_192511.log ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0
  outputs/e3_lw1e-2/best.pt : 4%|▍ | 58.7MB / 1.53GB 
 
 
1
  outputs/e3_lw1e-2/best.pt : 4%|▍ | 58.7MB / 1.53GB 
 
 
2
  outputs/e3_lw1e-2/best.pt : 11%|█ | 168MB / 1.53GB 
 
 
3
  outputs/e3_lw1e-2/best.pt : 18%|█▊ | 268MB / 1.53GB 
 
 
4
  outputs/e3_lw1e-2/best.pt : 24%|██▎ | 361MB / 1.53GB 
 
 
5
  outputs/e3_lw1e-2/best.pt : 30%|███ | 461MB / 1.53GB 
 
 
6
  outputs/e3_lw1e-2/best.pt : 37%|███▋ | 562MB / 1.53GB 
 
 
7
  outputs/e3_lw1e-2/best.pt : 43%|████▎ | 654MB / 1.53GB 
 
 
8
  outputs/e3_lw1e-2/best.pt : 49%|████▉ | 747MB / 1.53GB 
 
 
9
  outputs/e3_lw1e-2/best.pt : 56%|█████▌ | 856MB / 1.53GB 
 
 
10
  outputs/e3_lw1e-2/best.pt : 63%|██████▎ | 965MB / 1.53GB 
 
 
11
  outputs/e3_lw1e-2/best.pt : 70%|██████▉ | 1.07GB / 1.53GB 
 
 
12
  outputs/e3_lw1e-2/best.pt : 76%|███████▌ | 1.16GB / 1.53GB 
 
 
13
  outputs/e3_lw1e-2/best.pt : 83%|████████▎ | 1.26GB / 1.53GB 
 
 
14
  outputs/e3_lw1e-2/best.pt : 89%|████████▉ | 1.36GB / 1.53GB 
 
 
15
  outputs/e3_lw1e-2/best.pt : 95%|█████████▌| 1.45GB / 1.53GB 
 
 
16
  outputs/e3_lw1e-2/best.pt : 100%|██████████| 1.53GB / 1.53GB 
 
 
17
  outputs/e3_lw1e-2/best.pt : 100%|██████████| 1.53GB / 1.53GB 
 
 
18
  outputs/e3_lw1e-2/best.pt : 100%|██████████| 1.53GB / 1.53GB 
 
 
19
  outputs/e3_lw1e-2/best.pt : 100%|██████████| 1.53GB / 1.53GB 
 
 
20
  outputs/e3_lw1e-2/best.pt : 100%|██████████| 1.53GB / 1.53GB 
 
 
21
  outputs/e3_lw1e-2/best.pt : 100%|██████████| 1.53GB / 1.53GB 
 
 
22
  outputs/e3_lw1e-2/best.pt : 100%|██████████| 1.53GB / 1.53GB 
 
 
23
  outputs/e3_lw1e-2/best.pt : 100%|██████████| 1.53GB / 1.53GB 
 
 
24
  outputs/e3_lw1e-2/best.pt : 100%|██████████| 1.53GB / 1.53GB
 
 
 
1
+ === E3 eval-only: e3_lw1e-2 — Sat Mar 21 19:25:11 HKT 2026 ===
2
+
3
+ === Phase 2: Full Eval ===
4
+ Using device: cuda
5
+ Config: {
6
+ "encoder": "m-a-p/MERT-v1-95M",
7
+ "encoder_hidden": 768,
8
+ "unet_channels": [
9
+ 256,
10
+ 512,
11
+ 512
12
+ ],
13
+ "conformer_layers": 4,
14
+ "conformer_heads": 8,
15
+ "conformer_ff_dim": 2048,
16
+ "conformer_conv_kernel": 31,
17
+ "num_pitches": 88,
18
+ "dropout": 0.1,
19
+ "sample_rate": 24000,
20
+ "hop_length": 240,
21
+ "segment_length": 10.0,
22
+ "epochs": 20,
23
+ "batch_size": 8,
24
+ "accumulate_grad": 2,
25
+ "lr": 0.001,
26
+ "encoder_lr": 1e-05,
27
+ "layer_weight_lr": null,
28
+ "weight_decay": 0.01,
29
+ "warmup_epochs": 2,
30
+ "patience": 5,
31
+ "fp16": true,
32
+ "num_workers": 4,
33
+ "seed": 42,
34
+ "w_onset": 1.0,
35
+ "w_pitch": 1.0,
36
+ "w_frame": 0.5,
37
+ "focal_alpha": 0.85,
38
+ "focal_gamma": 2.0,
39
+ "pitch_sigma": 0.0,
40
+ "onset_threshold": 0.5,
41
+ "frame_threshold": 0.25,
42
+ "onset_tolerance_ms": 50,
43
+ "pitch_tolerance_cents": 50,
44
+ "data_dir": "./data",
45
+ "output_dir": "outputs/e3_lw1e-2",
46
+ "checkpoint": "outputs/e3_lw1e-2/best.pt",
47
+ "eval_only": true,
48
+ "per_dataset": true,
49
+ "datasets": null,
50
+ "augment": false,
51
+ "refine": false,
52
+ "refine_bpm": null,
53
+ "refine_iter": 5,
54
+ "device": null,
55
+ "no_f0_head": true,
56
+ "no_viterbi": false,
57
+ "no_expected_value": false,
58
+ "refine_scoring": "harmonics"
59
+ }
60
+
61
+ Loading datasets...
62
+ [train] Loaded 4259 entries
63
+ [val] Loaded 531 entries
64
+
65
+ Building model with encoder: m-a-p/MERT-v1-95M
66
+ WARNING: feature_extractor_cqt requires the libray 'nnAudio'
67
+
68
+ /userhome/cs/u3571824/fyp/muse/backend/ml_models/dev/vocal/train.py:927: FutureWarning: `torch.cuda.amp.GradScaler(args...)` is deprecated. Please use `torch.amp.GradScaler('cuda', args...)` instead.
69
+ scaler = GradScaler(enabled=cfg.fp16)
70
+ Parameters: 127.0M total, 127.0M trainable
71
+
72
+ Resuming from outputs/e3_lw1e-2/best.pt
73
+ [test] Loaded 583 entries
74
+ /userhome/cs/u3571824/fyp/muse/backend/ml_models/dev/vocal/train.py:618: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.
75
+ with autocast(enabled=cfg.fp16):
76
+
77
+ === Test Results (Frame-Level) ===
78
+ onset_f1: 0.1751
79
+ onset_precision: 0.1817
80
+ onset_recall: 0.1690
81
+ frame_f1: 0.6727
82
+ frame_precision: 0.5217
83
+ frame_recall: 0.9467
84
+ pitch_accuracy: 0.5809
85
+ loss: 1.9407
86
+ note_precision: 0.8426
87
+ note_recall: 0.7065
88
+ note_f1: 0.6927
89
+
90
+ === Test Results (Note-Level, mir_eval) ===
91
+ note_precision: 0.8426
92
+ note_recall: 0.7065
93
+ note_f1: 0.6927
94
+
95
+ === Per-Dataset Breakdown ===
96
+ [dali] onset_f1=0.1562, onset_precision=0.1484, onset_recall=0.1648, frame_f1=0.6737, frame_precision=0.5221, frame_recall=0.9491, pitch_accuracy=0.5707, note_precision=0.8247, note_recall=0.6767, note_f1=0.6636
97
+ [medleydb] onset_f1=0.0816, onset_precision=0.0577, onset_recall=0.1393, frame_f1=0.7064, frame_precision=0.5497, frame_recall=0.9879, pitch_accuracy=0.7860, note_precision=0.7619, note_recall=0.5816, note_f1=0.5882
98
+ [mir_st500] onset_f1=0.2591, onset_precision=0.2447, onset_recall=0.2753, frame_f1=0.6464, frame_precision=0.5053, frame_recall=0.8971, pitch_accuracy=0.6621, note_precision=0.9569, note_recall=0.8967, note_f1=0.8770
99
+
100
+ Results saved to outputs/e3_lw1e-2/test_results.json
101
+
102
+ === Phase 3: Upload to HuggingFace ===
103
+ Uploading best.pt...
104
+
105
+
106
+
107
+
108
  outputs/e3_lw1e-2/best.pt : 4%|▍ | 58.7MB / 1.53GB 
109
+
110
+
111
  outputs/e3_lw1e-2/best.pt : 4%|▍ | 58.7MB / 1.53GB 
112
+
113
+
114
  outputs/e3_lw1e-2/best.pt : 11%|█ | 168MB / 1.53GB 
115
+
116
+
117
  outputs/e3_lw1e-2/best.pt : 18%|█▊ | 268MB / 1.53GB 
118
+
119
+
120
  outputs/e3_lw1e-2/best.pt : 24%|██▎ | 361MB / 1.53GB 
121
+
122
+
123
  outputs/e3_lw1e-2/best.pt : 30%|███ | 461MB / 1.53GB 
124
+
125
+
126
  outputs/e3_lw1e-2/best.pt : 37%|███▋ | 562MB / 1.53GB 
127
+
128
+
129
  outputs/e3_lw1e-2/best.pt : 43%|████▎ | 654MB / 1.53GB 
130
+
131
+
132
  outputs/e3_lw1e-2/best.pt : 49%|████▉ | 747MB / 1.53GB 
133
+
134
+
135
  outputs/e3_lw1e-2/best.pt : 56%|█████▌ | 856MB / 1.53GB 
136
+
137
+
138
  outputs/e3_lw1e-2/best.pt : 63%|██████▎ | 965MB / 1.53GB 
139
+
140
+
141
  outputs/e3_lw1e-2/best.pt : 70%|██████▉ | 1.07GB / 1.53GB 
142
+
143
+
144
  outputs/e3_lw1e-2/best.pt : 76%|███████▌ | 1.16GB / 1.53GB 
145
+
146
+
147
  outputs/e3_lw1e-2/best.pt : 83%|████████▎ | 1.26GB / 1.53GB 
148
+
149
+
150
  outputs/e3_lw1e-2/best.pt : 89%|████████▉ | 1.36GB / 1.53GB 
151
+
152
+
153
  outputs/e3_lw1e-2/best.pt : 95%|█████████▌| 1.45GB / 1.53GB 
154
+
155
+
156
  outputs/e3_lw1e-2/best.pt : 100%|██████████| 1.53GB / 1.53GB 
157
+
158
+
159
  outputs/e3_lw1e-2/best.pt : 100%|██████████| 1.53GB / 1.53GB 
160
+
161
+
162
  outputs/e3_lw1e-2/best.pt : 100%|██████████| 1.53GB / 1.53GB 
163
+
164
+
165
  outputs/e3_lw1e-2/best.pt : 100%|██████████| 1.53GB / 1.53GB 
166
+
167
+
168
  outputs/e3_lw1e-2/best.pt : 100%|██████████| 1.53GB / 1.53GB 
169
+
170
+
171
  outputs/e3_lw1e-2/best.pt : 100%|██████████| 1.53GB / 1.53GB 
172
+
173
+
174
  outputs/e3_lw1e-2/best.pt : 100%|██████████| 1.53GB / 1.53GB 
175
+
176
+
177
  outputs/e3_lw1e-2/best.pt : 100%|██████████| 1.53GB / 1.53GB 
178
+
179
+
180
  outputs/e3_lw1e-2/best.pt : 100%|██████████| 1.53GB / 1.53GB
181
+ No files have been modified since last commit. Skipping to prevent empty commit.
182
+ No files have been modified since last commit. Skipping to prevent empty commit.
logs/vocal_e3_lw1e-3_20260321_184220.log ADDED
The diff for this file is too large to render. See raw diff
 
logs/vocal_e4_20260322_115154.log ADDED
The diff for this file is too large to render. See raw diff
 
logs/vocal_e4_20260322_173434.log ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === E4 AbS Pitch Refinement — Sun Mar 22 17:34:34 HKT 2026 ===
2
+ Using device: cuda
3
+ Config: {
4
+ "encoder": "m-a-p/MERT-v1-95M",
5
+ "encoder_hidden": 768,
6
+ "unet_channels": [
7
+ 256,
8
+ 512,
9
+ 512
10
+ ],
11
+ "conformer_layers": 4,
12
+ "conformer_heads": 8,
13
+ "conformer_ff_dim": 2048,
14
+ "conformer_conv_kernel": 31,
15
+ "num_pitches": 88,
16
+ "dropout": 0.1,
17
+ "sample_rate": 24000,
18
+ "hop_length": 240,
19
+ "segment_length": 10.0,
20
+ "epochs": 20,
21
+ "batch_size": 8,
22
+ "accumulate_grad": 2,
23
+ "lr": 0.001,
24
+ "encoder_lr": 1e-05,
25
+ "layer_weight_lr": null,
26
+ "weight_decay": 0.01,
27
+ "warmup_epochs": 2,
28
+ "patience": 5,
29
+ "fp16": true,
30
+ "num_workers": 4,
31
+ "seed": 42,
32
+ "w_onset": 1.0,
33
+ "w_pitch": 1.0,
34
+ "w_frame": 0.5,
35
+ "focal_alpha": 0.85,
36
+ "focal_gamma": 2.0,
37
+ "pitch_sigma": 0.0,
38
+ "onset_threshold": 0.5,
39
+ "frame_threshold": 0.25,
40
+ "onset_tolerance_ms": 50,
41
+ "pitch_tolerance_cents": 50,
42
+ "data_dir": "./data",
43
+ "output_dir": "outputs/e4",
44
+ "checkpoint": "outputs/e4/best.pt",
45
+ "eval_only": true,
46
+ "per_dataset": true,
47
+ "datasets": null,
48
+ "augment": false,
49
+ "refine": true,
50
+ "refine_bpm": null,
51
+ "refine_iter": 5,
52
+ "device": null,
53
+ "no_f0_head": true,
54
+ "no_frame_head": true,
55
+ "no_viterbi": false,
56
+ "no_expected_value": false,
57
+ "refine_scoring": "harmonics"
58
+ }
59
+
60
+ Loading datasets...
61
+ [train] Loaded 4259 entries
62
+ [val] Loaded 531 entries
63
+
64
+ Building model with encoder: m-a-p/MERT-v1-95M
65
+ WARNING: feature_extractor_cqt requires the libray 'nnAudio'
66
+
67
+ /userhome/cs/u3571824/fyp/muse/backend/ml_models/dev/vocal/train.py:963: FutureWarning: `torch.cuda.amp.GradScaler(args...)` is deprecated. Please use `torch.amp.GradScaler('cuda', args...)` instead.
68
+ scaler = GradScaler(enabled=cfg.fp16)
69
+ Parameters: 127.0M total, 127.0M trainable
70
+
71
+ Resuming from outputs/e4/best.pt
72
+ [test] Loaded 583 entries
73
+ /userhome/cs/u3571824/fyp/muse/backend/ml_models/dev/vocal/train.py:637: FutureWarning: `torch.cuda.amp.autocast(args...)` is deprecated. Please use `torch.amp.autocast('cuda', args...)` instead.
74
+ with autocast(enabled=cfg.fp16):
75
+
76
+ === Test Results (Frame-Level) ===
77
+ onset_f1: 0.2247
78
+ onset_precision: 0.2066
79
+ onset_recall: 0.2464
80
+ frame_f1: 0.7332
81
+ frame_precision: 0.7371
82
+ frame_recall: 0.7294
83
+ pitch_accuracy: 0.5256
84
+ loss: 0.6955
85
+ note_precision: 0.9030
86
+ note_recall: 0.7190
87
+ note_f1: 0.7224
88
+
89
+ === Test Results (Note-Level, mir_eval) ===
90
+ note_precision: 0.9030
91
+ note_recall: 0.7190
92
+ note_f1: 0.7224
93
+
94
+ === Per-Dataset Breakdown ===
95
+ [dali] onset_f1=0.1929, onset_precision=0.1645, onset_recall=0.2331, frame_f1=0.7255, frame_precision=0.7243, frame_recall=0.7267, pitch_accuracy=0.5118, note_precision=0.8883, note_recall=0.6899, note_f1=0.6925
96
+ [medleydb] onset_f1=0.2435, onset_precision=0.1652, onset_recall=0.4622, frame_f1=0.9507, frame_precision=0.9446, frame_recall=0.9569, pitch_accuracy=0.7696, note_precision=0.8690, note_recall=0.6214, note_f1=0.6452
97
+ [mir_st500] onset_f1=0.3645, onset_precision=0.2896, onset_recall=0.4918, frame_f1=0.7797, frame_precision=0.8910, frame_recall=0.6931, pitch_accuracy=0.6480, note_precision=0.9942, note_recall=0.9023, note_f1=0.9090
98
+
99
+ Results saved to outputs/e4/test_results.json
100
+
101
+ === Analysis-by-Synthesis Refinement ===
102
+
103
+ === Refined Note Metrics (AbS) ===
104
+ note_precision: 0.8817 (was 0.9030)
105
+ note_recall: 0.7143 (was 0.7190)
106
+ note_f1: 0.7151 (was 0.7224)
107
+ delta note_f1: -0.0072
108
+
109
+ === Upload to HuggingFace ===
logs/vocal_e4_20260322_180010.log ADDED
The diff for this file is too large to render. See raw diff
 
logs/vocal_e5_20260322_180311.log ADDED
The diff for this file is too large to render. See raw diff
 
logs/vocal_v10_20260320_165951.log ADDED
The diff for this file is too large to render. See raw diff
 
logs/vocal_v8.3_20260318_171223.log ADDED
The diff for this file is too large to render. See raw diff
 
logs/vocal_v8.4_20260319_175601.log ADDED
The diff for this file is too large to render. See raw diff
 
logs/vocal_v9_20260320_121041.log ADDED
The diff for this file is too large to render. See raw diff
 
logs/vocal_v9_20260320_131412.log ADDED
The diff for this file is too large to render. See raw diff