p-j-r-1-2-3's picture
add run calib_p95
122a388 verified
Raw
History Blame Contribute Delete
12.3 kB
Invalid JSON:Unexpected token 'N', ..."_recall": NaN, ""... is not valid JSON
{
"key": "opt03_ftbc_threshold_balance/calib_p95",
"tag": "calib_p95",
"script": "opt03_ftbc_threshold_balance.py",
"script_sha256_16": "b61e2bfeb6416b99",
"hf_folder": "applied/opt03_ftbc_threshold_balance",
"priority": 1,
"note": "aggressive clipping",
"phase": 3,
"n_phases": 10,
"method": "harmonic_matched",
"command": [
"/usr/bin/python3",
"-m",
"torch.distributed.run",
"--standalone",
"--nproc_per_node=2",
"/kaggle/working/scripts/opt03_ftbc_threshold_balance.py",
"--method",
"harmonic_matched",
"--data-root",
"/kaggle/working/data",
"--epochs",
"60",
"--seed",
"1234",
"--batch-size",
"64",
"--event-eval",
"--no-resume",
"--decision-margin",
"2.0",
"--hub-dir",
"/kaggle/working/hub/opt03_ftbc_threshold_balance/calib_p95",
"--keep-epoch-weights",
"1",
"--resplit",
"block",
"--drop-rest",
"--bench",
"--calib-percentile",
"95"
],
"flags": [
"--calib-percentile",
"95"
],
"epochs_requested": 60,
"gpus": 2,
"relative_epoch_cost": 1.0,
"exit_code": 0,
"status": "ok",
"duration_s": 378.3,
"started_utc": "2026-08-23T03:49:09.210891+00:00",
"finished_utc": "2026-08-23T03:55:27.533752+00:00",
"optimization_summary": {
"optimization": "ftbc_threshold_balance",
"research_section": "2. Temporal-Dimension Reduction (threshold balancing + FTBC)",
"reference": "Rueckauer et al. arXiv:1612.04052; Sengupta et al. arXiv:1802.02627; FTBC: Forward Temporal Bias Correction, ECCV 2024",
"script": "opt03_ftbc_threshold_balance.py",
"baseline_mode": false,
"method": "harmonic_matched",
"accuracy": {
"test_acc": 0.9321428571428572,
"test_target_acc": 0.9321428571428572,
"best_val_acc": 0.9428571428571428
},
"efficiency": {
"spikes_per_inference": null,
"syn_ops_per_inference": 3264047.4829545454,
"dense_macs_per_inference": 122675200.0,
"event_fraction_of_dense": 0.026607231803612675,
"syn_ops_per_inference_dense_fanout": 64840665.26948052,
"weight_sparsity": 0.7324707846410685,
"effective_ticks": 11.949285714285715,
"num_ticks": 100,
"membrane_bytes_per_inference": 451200,
"weight_bytes": 4907008,
"input_raster_bytes": null,
"train_ms_per_step": 101.53206159998263,
"infer_ms_per_sample": 0.6751663200000735,
"peak_vram_mb": 2832.422912
},
"optimization_specific": {
"calibrate_thresh": true,
"ftbc": true,
"calib_percentile": 95.0,
"calib_batches": 8,
"ftbc_target_ticks": 8,
"ftbc_ref_ticks": 100,
"trained_T": 100,
"thresh_before": [
1.0,
1.0,
1.0,
1.0
],
"thresh_after": [
0.5629911422729492,
0.4806070923805237,
0.8457203507423401,
1.6999517679214478
],
"min_ticks_within_1pct_of_full": null,
"min_ticks_within_1pct_per_arm": {
"raw": 50,
"thresh": null,
"ftbc": 100,
"both": null
},
"speedup_at_min_ticks": null,
"full_T_acc": 0.9428571428571428,
"t_sweep_rows": [
{
"T": 4,
"arm": "raw",
"acc": 0.305,
"syn_per_inference": 1871713.2256493508,
"dense_per_inference": 4907008.0,
"event_fraction_of_dense": 0.3814367585398986
},
{
"T": 4,
"arm": "thresh",
"acc": 0.3335714285714286,
"syn_per_inference": 1909303.75487013,
"dense_per_inference": 4907008.0,
"event_fraction_of_dense": 0.38909733892223736
},
{
"T": 4,
"arm": "ftbc",
"acc": 0.23357142857142857,
"syn_per_inference": 1938631.2873376624,
"dense_per_inference": 4907008.0,
"event_fraction_of_dense": 0.39507400178228
},
{
"T": 4,
"arm": "both",
"acc": 0.31785714285714284,
"syn_per_inference": 2003910.9650974027,
"dense_per_inference": 4907008.0,
"event_fraction_of_dense": 0.40837735848350004
},
{
"T": 8,
"arm": "raw",
"acc": 0.6157142857142858,
"syn_per_inference": 2054740.7784090908,
"dense_per_inference": 9814016.0,
"event_fraction_of_dense": 0.20936798741810597
},
{
"T": 8,
"arm": "thresh",
"acc": 0.535,
"syn_per_inference": 2140106.012987013,
"dense_per_inference": 9814016.0,
"event_fraction_of_dense": 0.21806628529921013
},
{
"T": 8,
"arm": "ftbc",
"acc": 0.5135714285714286,
"syn_per_inference": 2244092.827922078,
"dense_per_inference": 9814016.0,
"event_fraction_of_dense": 0.22866203070405405
},
{
"T": 8,
"arm": "both",
"acc": 0.4642857142857143,
"syn_per_inference": 2392016.2751623373,
"dense_per_inference": 9814016.0,
"event_fraction_of_dense": 0.2437347030168218
},
{
"T": 16,
"arm": "raw",
"acc": 0.8264285714285714,
"syn_per_inference": 2346062.1858766233,
"dense_per_inference": 19628032.0,
"event_fraction_of_dense": 0.11952610357862792
},
{
"T": 16,
"arm": "thresh",
"acc": 0.7228571428571429,
"syn_per_inference": 2542097.0625,
"dense_per_inference": 19628032.0,
"event_fraction_of_dense": 0.1295135988416974
},
{
"T": 16,
"arm": "ftbc",
"acc": 0.7578571428571429,
"syn_per_inference": 2610952.6550324676,
"dense_per_inference": 19628032.0,
"event_fraction_of_dense": 0.13302162208786228
},
{
"T": 16,
"arm": "both",
"acc": 0.6342857142857142,
"syn_per_inference": 2888513.6176948054,
"dense_per_inference": 19628032.0,
"event_fraction_of_dense": 0.14716267110705777
},
{
"T": 25,
"arm": "raw",
"acc": 0.89,
"syn_per_inference": 2567979.000811688,
"dense_per_inference": 30668800.0,
"event_fraction_of_dense": 0.08373262080067326
},
{
"T": 25,
"arm": "thresh",
"acc": 0.8221428571428572,
"syn_per_inference": 2890386.8092532465,
"dense_per_inference": 30668800.0,
"event_fraction_of_dense": 0.09424518759303417
},
{
"T": 25,
"arm": "ftbc",
"acc": 0.8642857142857143,
"syn_per_inference": 2876722.585227273,
"dense_per_inference": 30668800.0,
"event_fraction_of_dense": 0.09379964606464136
},
{
"T": 25,
"arm": "both",
"acc": 0.7692857142857142,
"syn_per_inference": 3290927.121753247,
"dense_per_inference": 30668800.0,
"event_fraction_of_dense": 0.10730537620491336
},
{
"T": 50,
"arm": "raw",
"acc": 0.9328571428571428,
"syn_per_inference": 2922163.6103896103,
"dense_per_inference": 61337600.0,
"event_fraction_of_dense": 0.04764065777581142
},
{
"T": 50,
"arm": "thresh",
"acc": 0.9135714285714286,
"syn_per_inference": 3546637.237824675,
"dense_per_inference": 61337600.0,
"event_fraction_of_dense": 0.05782158476733154
},
{
"T": 50,
"arm": "ftbc",
"acc": 0.9292857142857143,
"syn_per_inference": 3297052.6079545454,
"dense_per_inference": 61337600.0,
"event_fraction_of_dense": 0.053752553212948424
},
{
"T": 50,
"arm": "both",
"acc": 0.9007142857142857,
"syn_per_inference": 4030732.6136363638,
"dense_per_inference": 61337600.0,
"event_fraction_of_dense": 0.06571389512527982
},
{
"T": 100,
"arm": "raw",
"acc": 0.9428571428571428,
"syn_per_inference": 3264047.5113636362,
"dense_per_inference": 122675200.0,
"event_fraction_of_dense": 0.026607232035192413
},
{
"T": 100,
"arm": "thresh",
"acc": 0.9321428571428572,
"syn_per_inference": 4339798.512987013,
"dense_per_inference": 122675200.0,
"event_fraction_of_dense": 0.03537633126326277
},
{
"T": 100,
"arm": "ftbc",
"acc": 0.9407142857142857,
"syn_per_inference": 3693235.9448051946,
"dense_per_inference": 122675200.0,
"event_fraction_of_dense": 0.03010580740691839
},
{
"T": 100,
"arm": "both",
"acc": 0.9292857142857143,
"syn_per_inference": 4875421.047077922,
"dense_per_inference": 122675200.0,
"event_fraction_of_dense": 0.03974251557835587
}
],
"calibration_reference": "same network at full T (NOT a source ANN)"
},
"config": {
"method": "harmonic_matched",
"data_root": "/kaggle/working/data",
"subjects": "",
"blocks": "",
"limit": 0,
"drop_rest": true,
"resplit": "block",
"test_blocks": "6",
"class_weight": false,
"epochs": 60,
"batch_size": 64,
"lr": 0.002,
"weight_decay": 0.0005,
"grad_clip": 5.0,
"num_bins": 100,
"window_sec": 5.0,
"hidden": "512,256",
"freq_groups": 8,
"dropout": 0.3,
"spike_drop": 0.1,
"time_jitter": 2,
"label_smoothing": 0.05,
"no_batchnorm": false,
"binary_input": false,
"beta": 1.0,
"thresh": 1.0,
"window": 0.5,
"gain": 1.0,
"alpha": 0.9,
"readout": "spikecount",
"fake_quant": 0,
"amp": false,
"spike_reg": 0.0,
"event_eval": true,
"decision_margin": 2.0,
"export": false,
"seed": 1234,
"hub_dir": "/kaggle/working/hub/opt03_ftbc_threshold_balance/calib_p95",
"repo_id": "UWU-R-13/SSVEP-SNN",
"push_hf": false,
"keep_epoch_weights": 1,
"no_resume": true,
"selftest": false,
"baseline": false,
"bench": true,
"bench_warmup": 10,
"bench_iters": 50,
"bench_train_steps": 20,
"calibrate_thresh": true,
"calib_percentile": 95.0,
"calib_batches": 8,
"ftbc": true,
"ftbc_target_ticks": 8,
"ftbc_ref_ticks": 0,
"ftbc_lr": 1.0,
"t_sweep": "4,8,16,25,50,100",
"sampling_rate": 250.0
}
},
"final_summary": {
"final_test_acc": 0.9428571428571428,
"final_test_target_acc": 0.9428571428571428,
"final_test_rest_recall": NaN,
"best_acc": 0.9428571428571428,
"best_epoch": 41,
"resplit": "block",
"class_weight": false,
"drop_rest": true,
"epochs": 60,
"method": "harmonic_matched",
"n_in": 2880,
"n_classes": 40,
"num_bins": 100
},
"event_driven_summary": {
"acc": 0.9428571428571428,
"anytime_acc": {
"0.25": 0.6371428571428571,
"0.5": 0.8521428571428571,
"0.75": 0.9157142857142857,
"1.0": 0.9428571428571428
},
"syn_per_inference": 3264047.4829545454,
"dense_per_inference": 122675200.0,
"event_fraction_of_dense": 0.026607231803612675,
"syn_per_inference_dense_fanout": 64840665.26948052,
"weight_sparsity": 0.7324707846410685,
"num_ticks": 100,
"dt_ms": 50.0,
"margin_decision_acc": 0.44642857142857145,
"mean_decision_tick": 11.949285714285715,
"mean_decision_ms": 597.4642857142858,
"dense_forward_test_acc": 0.9428571428571428
},
"extra_sweep_file_present": true,
"selftest": {
"mode": "gate",
"passed": true
},
"driver_version": 1,
"zip": {
"name": "calib_p95.zip",
"files": 81,
"bytes": 12247718,
"MB": 12.2,
"sha256": "7bfd3a9ba5be867423a06c63cc3e7652e2784be8ea2ed7f3064997e028337fd1"
}
}