p-j-r-1-2-3 commited on
Commit
ffe6613
·
verified ·
1 Parent(s): addcd88

add run fusion_prior_2x

Browse files
applied/opt02_seenn_bayes/fusion_prior_2x.summary.json ADDED
@@ -0,0 +1,320 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "key": "opt02_seenn_bayes/fusion_prior_2x",
3
+ "tag": "fusion_prior_2x",
4
+ "script": "opt02_seenn_bayes.py",
5
+ "script_sha256_16": "dd4f650ca0b36f6e",
6
+ "hf_folder": "applied/opt02_seenn_bayes",
7
+ "priority": 2,
8
+ "note": "",
9
+ "phase": 7,
10
+ "n_phases": 10,
11
+ "method": "harmonic_matched",
12
+ "command": [
13
+ "/usr/bin/python3",
14
+ "-m",
15
+ "torch.distributed.run",
16
+ "--standalone",
17
+ "--nproc_per_node=2",
18
+ "/kaggle/working/scripts/opt02_seenn_bayes.py",
19
+ "--method",
20
+ "harmonic_matched",
21
+ "--data-root",
22
+ "/kaggle/working/data",
23
+ "--epochs",
24
+ "60",
25
+ "--seed",
26
+ "1234",
27
+ "--batch-size",
28
+ "64",
29
+ "--event-eval",
30
+ "--no-resume",
31
+ "--decision-margin",
32
+ "2.0",
33
+ "--hub-dir",
34
+ "/kaggle/working/hub/opt02_seenn_bayes/fusion_prior_2x",
35
+ "--keep-epoch-weights",
36
+ "1",
37
+ "--resplit",
38
+ "block",
39
+ "--drop-rest",
40
+ "--bench",
41
+ "--fusion-prior-weight",
42
+ "2.0"
43
+ ],
44
+ "flags": [
45
+ "--fusion-prior-weight",
46
+ "2.0"
47
+ ],
48
+ "epochs_requested": 60,
49
+ "gpus": 2,
50
+ "relative_epoch_cost": 1.0,
51
+ "exit_code": 0,
52
+ "status": "ok",
53
+ "duration_s": 609.0,
54
+ "started_utc": "2026-08-23T03:58:51.976532+00:00",
55
+ "finished_utc": "2026-08-23T04:09:00.973026+00:00",
56
+ "optimization_summary": {
57
+ "optimization": "seenn_early_exit_bayesian_fusion",
58
+ "research_section": "2. Temporal-dimension reduction",
59
+ "reference": "SEENN: Towards Temporal Spiking Early-Exit Neural Networks, arXiv:2304.01230 (NeurIPS 2023); BayesianSpikeFusion, Front. Neurosci. 2024 (PMC11330889)",
60
+ "script": "opt02_seenn_bayes.py",
61
+ "baseline_mode": false,
62
+ "method": "harmonic_matched",
63
+ "accuracy": {
64
+ "test_acc": 0.9271428571428572,
65
+ "test_target_acc": 0.9271428571428572,
66
+ "best_val_acc": 0.9307142857142857
67
+ },
68
+ "efficiency": {
69
+ "spikes_per_inference": null,
70
+ "syn_ops_per_inference": 3657479.1964285714,
71
+ "dense_macs_per_inference": 123955200.0,
72
+ "event_fraction_of_dense": 0.02950646036978337,
73
+ "syn_ops_per_inference_dense_fanout": 65234096.98295455,
74
+ "weight_sparsity": 0.7324707846410685,
75
+ "effective_ticks": 7.784285714285715,
76
+ "num_ticks": 100,
77
+ "membrane_bytes_per_inference": 451200,
78
+ "weight_bytes": 4907008,
79
+ "input_raster_bytes": null,
80
+ "train_ms_per_step": 185.8240008354187,
81
+ "infer_ms_per_sample": 0.6510175053198733,
82
+ "peak_vram_mb": 10914.386944,
83
+ "syn_ops_per_inference_early_exit": 1785947.325487013
84
+ },
85
+ "optimization_specific": {
86
+ "seenn_enabled": true,
87
+ "bayes_fusion_enabled": true,
88
+ "conf_threshold": 0.9,
89
+ "conf_temp": 2.0,
90
+ "anytime_fracs": "0.25,0.5,1.0",
91
+ "anytime_weights": "0.3,0.3,1.0",
92
+ "ic_loss_weight": 0.3,
93
+ "ic_layer": 0,
94
+ "mean_exit_tick": 7.784285714285715,
95
+ "mean_exit_ms": 389.2142857142857,
96
+ "ticks_saved_frac": 0.9221571428571429,
97
+ "exit_tick_histogram": {
98
+ "counts": [
99
+ 1048,
100
+ 306,
101
+ 34,
102
+ 11,
103
+ 1,
104
+ 0,
105
+ 0,
106
+ 0,
107
+ 0,
108
+ 0
109
+ ],
110
+ "edges": [
111
+ 0.0,
112
+ 10.0,
113
+ 20.0,
114
+ 30.0,
115
+ 40.0,
116
+ 50.0,
117
+ 60.0,
118
+ 70.0,
119
+ 80.0,
120
+ 90.0,
121
+ 100.0
122
+ ]
123
+ },
124
+ "acc_fc_only": 0.9271428571428572,
125
+ "acc_ic_only": 0.9357142857142857,
126
+ "acc_fused": 0.9357142857142857,
127
+ "acc_early_exit": 0.37714285714285717,
128
+ "syn_ops_saved_frac": 0.5116999360567951,
129
+ "syn_per_inference_early_exit": 1785947.325487013,
130
+ "anytime_acc": {
131
+ "0.25": 0.6264285714285714,
132
+ "0.5": 0.8178571428571428,
133
+ "0.75": 0.8921428571428571,
134
+ "1.0": 0.9271428571428572
135
+ },
136
+ "pareto": [
137
+ {
138
+ "conf": 0.5,
139
+ "mean_ticks": 4.289285714285715,
140
+ "acc": 0.24571428571428572,
141
+ "syn_ops": 1647281.4212662338
142
+ },
143
+ {
144
+ "conf": 0.7,
145
+ "mean_ticks": 4.978571428571429,
146
+ "acc": 0.275,
147
+ "syn_ops": 1678001.2727272727
148
+ },
149
+ {
150
+ "conf": 0.8,
151
+ "mean_ticks": 5.852857142857143,
152
+ "acc": 0.3028571428571429,
153
+ "syn_ops": 1714795.320616883
154
+ },
155
+ {
156
+ "conf": 0.9,
157
+ "mean_ticks": 7.785,
158
+ "acc": 0.37714285714285717,
159
+ "syn_ops": 1785960.5300324673
160
+ },
161
+ {
162
+ "conf": 0.95,
163
+ "mean_ticks": 10.002142857142857,
164
+ "acc": 0.45071428571428573,
165
+ "syn_ops": 1850843.49512987
166
+ },
167
+ {
168
+ "conf": 0.99,
169
+ "mean_ticks": 14.499285714285714,
170
+ "acc": 0.5742857142857143,
171
+ "syn_ops": 1959679.1558441557
172
+ }
173
+ ]
174
+ },
175
+ "config": {
176
+ "method": "harmonic_matched",
177
+ "data_root": "/kaggle/working/data",
178
+ "subjects": "",
179
+ "blocks": "",
180
+ "limit": 0,
181
+ "drop_rest": true,
182
+ "resplit": "block",
183
+ "test_blocks": "6",
184
+ "class_weight": false,
185
+ "epochs": 60,
186
+ "batch_size": 64,
187
+ "lr": 0.002,
188
+ "weight_decay": 0.0005,
189
+ "grad_clip": 5.0,
190
+ "num_bins": 100,
191
+ "window_sec": 5.0,
192
+ "hidden": "512,256",
193
+ "freq_groups": 8,
194
+ "dropout": 0.3,
195
+ "spike_drop": 0.1,
196
+ "time_jitter": 2,
197
+ "label_smoothing": 0.05,
198
+ "no_batchnorm": false,
199
+ "binary_input": false,
200
+ "beta": 1.0,
201
+ "thresh": 1.0,
202
+ "window": 0.5,
203
+ "gain": 1.0,
204
+ "alpha": 0.9,
205
+ "readout": "spikecount",
206
+ "fake_quant": 0,
207
+ "amp": false,
208
+ "spike_reg": 0.0,
209
+ "event_eval": true,
210
+ "decision_margin": 2.0,
211
+ "export": false,
212
+ "seed": 1234,
213
+ "baseline": false,
214
+ "bench": true,
215
+ "bench_warmup": 10,
216
+ "bench_iters": 50,
217
+ "bench_train_steps": 20,
218
+ "anytime_fracs": "0.25,0.5,1.0",
219
+ "anytime_weights": "0.3,0.3,1.0",
220
+ "ic_layer": 0,
221
+ "ic_loss_weight": 0.3,
222
+ "bayes_fusion": true,
223
+ "fusion_prior_weight": 2.0,
224
+ "conf_threshold": 0.9,
225
+ "conf_temp": 2.0,
226
+ "conf_sweep": "0.5,0.7,0.8,0.9,0.95,0.99",
227
+ "hub_dir": "/kaggle/working/hub/opt02_seenn_bayes/fusion_prior_2x",
228
+ "repo_id": "UWU-R-13/SSVEP-SNN",
229
+ "push_hf": false,
230
+ "keep_epoch_weights": 1,
231
+ "no_resume": true,
232
+ "selftest": false,
233
+ "sampling_rate": 250.0
234
+ }
235
+ },
236
+ "final_summary": {
237
+ "final_test_acc": 0.9271428571428572,
238
+ "final_test_target_acc": 0.9271428571428572,
239
+ "final_test_rest_recall": NaN,
240
+ "best_acc": 0.9307142857142857,
241
+ "best_epoch": 28,
242
+ "resplit": "block",
243
+ "class_weight": false,
244
+ "drop_rest": true,
245
+ "epochs": 60,
246
+ "method": "harmonic_matched",
247
+ "n_in": 2880,
248
+ "n_classes": 40,
249
+ "num_bins": 100
250
+ },
251
+ "event_driven_summary": {
252
+ "num_ticks": 100,
253
+ "dt_ms": 50.0,
254
+ "acc": 0.9271428571428572,
255
+ "anytime_acc": {
256
+ "0.25": 0.6264285714285714,
257
+ "0.5": 0.8178571428571428,
258
+ "0.75": 0.8921428571428571,
259
+ "1.0": 0.9271428571428572
260
+ },
261
+ "syn_per_inference": 3657479.1964285714,
262
+ "dense_per_inference": 123955200.0,
263
+ "event_fraction_of_dense": 0.02950646036978337,
264
+ "syn_per_inference_dense_fanout": 65234096.98295455,
265
+ "weight_sparsity": 0.7324707846410685,
266
+ "acc_fc_only": 0.9271428571428572,
267
+ "acc_ic_only": 0.9357142857142857,
268
+ "acc_fused": 0.9357142857142857,
269
+ "margin_decision_acc": 0.4307142857142857,
270
+ "mean_decision_tick": 10.192857142857143,
271
+ "mean_decision_ms": 509.64285714285717,
272
+ "acc_early_exit": 0.37714285714285717,
273
+ "mean_exit_tick": 7.784285714285715,
274
+ "mean_exit_ms": 389.2142857142857,
275
+ "ticks_saved_frac": 0.9221571428571429,
276
+ "exit_tick_histogram": {
277
+ "counts": [
278
+ 1048,
279
+ 306,
280
+ 34,
281
+ 11,
282
+ 1,
283
+ 0,
284
+ 0,
285
+ 0,
286
+ 0,
287
+ 0
288
+ ],
289
+ "edges": [
290
+ 0.0,
291
+ 10.0,
292
+ 20.0,
293
+ 30.0,
294
+ 40.0,
295
+ 50.0,
296
+ 60.0,
297
+ 70.0,
298
+ 80.0,
299
+ 90.0,
300
+ 100.0
301
+ ]
302
+ },
303
+ "syn_per_inference_early_exit": 1785947.325487013,
304
+ "syn_ops_saved_frac": 0.5116999360567951,
305
+ "dense_forward_test_acc": 0.9271428571428572
306
+ },
307
+ "extra_sweep_file_present": true,
308
+ "selftest": {
309
+ "mode": "gate",
310
+ "passed": true
311
+ },
312
+ "driver_version": 1,
313
+ "zip": {
314
+ "name": "fusion_prior_2x.zip",
315
+ "files": 81,
316
+ "bytes": 12637636,
317
+ "MB": 12.6,
318
+ "sha256": "fc6050fb762f5c1e2b45dd261c259362087f7598c1df1884b7b7b97c019e13f4"
319
+ }
320
+ }
applied/opt02_seenn_bayes/fusion_prior_2x.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc6050fb762f5c1e2b45dd261c259362087f7598c1df1884b7b7b97c019e13f4
3
+ size 12637636