p-j-r-1-2-3's picture
add run ftbc_lr_0.5
e0eb1ab verified
Raw
History Blame Contribute Delete
12.2 kB
Invalid JSON:Unexpected token 'N', ..."_recall": NaN, ""... is not valid JSON
{
"key": "opt03_ftbc_threshold_balance/ftbc_lr_0.5",
"tag": "ftbc_lr_0.5",
"script": "opt03_ftbc_threshold_balance.py",
"script_sha256_16": "b61e2bfeb6416b99",
"hf_folder": "applied/opt03_ftbc_threshold_balance",
"priority": 2,
"note": "half-threshold calibration steps",
"phase": 7,
"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/ftbc_lr_0.5",
"--keep-epoch-weights",
"1",
"--resplit",
"block",
"--drop-rest",
"--bench",
"--ftbc-lr",
"0.5"
],
"flags": [
"--ftbc-lr",
"0.5"
],
"epochs_requested": 60,
"gpus": 2,
"relative_epoch_cost": 1.0,
"exit_code": 0,
"status": "ok",
"duration_s": 386.3,
"started_utc": "2026-08-23T04:57:39.056670+00:00",
"finished_utc": "2026-08-23T05:04:05.405638+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.9328571428571428,
"test_target_acc": 0.9328571428571428,
"best_val_acc": 0.945
},
"efficiency": {
"spikes_per_inference": null,
"syn_ops_per_inference": 3251424.406655844,
"dense_macs_per_inference": 122675200.0,
"event_fraction_of_dense": 0.026504333448454487,
"syn_ops_per_inference_dense_fanout": 64828042.19318182,
"weight_sparsity": 0.7324707846410685,
"effective_ticks": 12.322857142857142,
"num_ticks": 100,
"membrane_bytes_per_inference": 451200,
"weight_bytes": 4907008,
"input_raster_bytes": null,
"train_ms_per_step": 96.83538014996884,
"infer_ms_per_sample": 0.6346282890626753,
"peak_vram_mb": 2825.357824
},
"optimization_specific": {
"calibrate_thresh": true,
"ftbc": true,
"calib_percentile": 99.9,
"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": [
2.332695722579956,
0.859599232673645,
1.0915957689285278,
2.6890203952789307
],
"min_ticks_within_1pct_of_full": null,
"min_ticks_within_1pct_per_arm": {
"raw": 100,
"thresh": null,
"ftbc": null,
"both": null
},
"speedup_at_min_ticks": null,
"full_T_acc": 0.95,
"t_sweep_rows": [
{
"T": 4,
"arm": "raw",
"acc": 0.2671428571428571,
"syn_per_inference": 1861908.2905844154,
"dense_per_inference": 4907008.0,
"event_fraction_of_dense": 0.3794386091452093
},
{
"T": 4,
"arm": "thresh",
"acc": 0.4085714285714286,
"syn_per_inference": 1822856.6185064935,
"dense_per_inference": 4907008.0,
"event_fraction_of_dense": 0.37148026220998487
},
{
"T": 4,
"arm": "ftbc",
"acc": 0.31785714285714284,
"syn_per_inference": 1921884.1883116884,
"dense_per_inference": 4907008.0,
"event_fraction_of_dense": 0.3916611076060378
},
{
"T": 4,
"arm": "both",
"acc": 0.43785714285714283,
"syn_per_inference": 1887901.7792207792,
"dense_per_inference": 4907008.0,
"event_fraction_of_dense": 0.3847358266423815
},
{
"T": 8,
"arm": "raw",
"acc": 0.5807142857142857,
"syn_per_inference": 2040732.888798701,
"dense_per_inference": 9814016.0,
"event_fraction_of_dense": 0.20794065230775058
},
{
"T": 8,
"arm": "thresh",
"acc": 0.7564285714285715,
"syn_per_inference": 1946398.6477272727,
"dense_per_inference": 9814016.0,
"event_fraction_of_dense": 0.19832845674260902
},
{
"T": 8,
"arm": "ftbc",
"acc": 0.5457142857142857,
"syn_per_inference": 2210247.6266233767,
"dense_per_inference": 9814016.0,
"event_fraction_of_dense": 0.22521337102195235
},
{
"T": 8,
"arm": "both",
"acc": 0.7142857142857143,
"syn_per_inference": 2123275.1217532465,
"dense_per_inference": 9814016.0,
"event_fraction_of_dense": 0.2163513001969068
},
{
"T": 16,
"arm": "raw",
"acc": 0.8042857142857143,
"syn_per_inference": 2325398.8141233767,
"dense_per_inference": 19628032.0,
"event_fraction_of_dense": 0.11847335556225794
},
{
"T": 16,
"arm": "thresh",
"acc": 0.8992857142857142,
"syn_per_inference": 2118264.750811688,
"dense_per_inference": 19628032.0,
"event_fraction_of_dense": 0.10792038401056653
},
{
"T": 16,
"arm": "ftbc",
"acc": 0.7342857142857143,
"syn_per_inference": 2572779.288961039,
"dense_per_inference": 19628032.0,
"event_fraction_of_dense": 0.1310767828868956
},
{
"T": 16,
"arm": "both",
"acc": 0.8478571428571429,
"syn_per_inference": 2357532.7719155843,
"dense_per_inference": 19628032.0,
"event_fraction_of_dense": 0.12011050175155534
},
{
"T": 25,
"arm": "raw",
"acc": 0.8764285714285714,
"syn_per_inference": 2543208.9926948054,
"dense_per_inference": 30668800.0,
"event_fraction_of_dense": 0.08292495932983375
},
{
"T": 25,
"arm": "thresh",
"acc": 0.9242857142857143,
"syn_per_inference": 2236140.2930194805,
"dense_per_inference": 30668800.0,
"event_fraction_of_dense": 0.07291254607351708
},
{
"T": 25,
"arm": "ftbc",
"acc": 0.8357142857142857,
"syn_per_inference": 2838940.3084415584,
"dense_per_inference": 30668800.0,
"event_fraction_of_dense": 0.092567701000416
},
{
"T": 25,
"arm": "both",
"acc": 0.895,
"syn_per_inference": 2509213.547077922,
"dense_per_inference": 30668800.0,
"event_fraction_of_dense": 0.0818164893011113
},
{
"T": 50,
"arm": "raw",
"acc": 0.9307142857142857,
"syn_per_inference": 2895740.404220779,
"dense_per_inference": 61337600.0,
"event_fraction_of_dense": 0.04720987459927971
},
{
"T": 50,
"arm": "thresh",
"acc": 0.9392857142857143,
"syn_per_inference": 2418345.2930194805,
"dense_per_inference": 61337600.0,
"event_fraction_of_dense": 0.03942680008705069
},
{
"T": 50,
"arm": "ftbc",
"acc": 0.9214285714285714,
"syn_per_inference": 3263736.2483766233,
"dense_per_inference": 61337600.0,
"event_fraction_of_dense": 0.053209389483393925
},
{
"T": 50,
"arm": "both",
"acc": 0.9307142857142857,
"syn_per_inference": 2744258.13474026,
"dense_per_inference": 61337600.0,
"event_fraction_of_dense": 0.044740226789771034
},
{
"T": 100,
"arm": "raw",
"acc": 0.95,
"syn_per_inference": 3251424.2077922076,
"dense_per_inference": 122675200.0,
"event_fraction_of_dense": 0.026504331827396307
},
{
"T": 100,
"arm": "thresh",
"acc": 0.9328571428571428,
"syn_per_inference": 2685684.0251623373,
"dense_per_inference": 122675200.0,
"event_fraction_of_dense": 0.0218926402823255
},
{
"T": 100,
"arm": "ftbc",
"acc": 0.9378571428571428,
"syn_per_inference": 3688635.3920454546,
"dense_per_inference": 122675200.0,
"event_fraction_of_dense": 0.030068305509552497
},
{
"T": 100,
"arm": "both",
"acc": 0.925,
"syn_per_inference": 3041737.727272727,
"dense_per_inference": 122675200.0,
"event_fraction_of_dense": 0.024795050077544012
}
],
"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/ftbc_lr_0.5",
"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": 99.9,
"calib_batches": 8,
"ftbc": true,
"ftbc_target_ticks": 8,
"ftbc_ref_ticks": 0,
"ftbc_lr": 0.5,
"t_sweep": "4,8,16,25,50,100",
"sampling_rate": 250.0
}
},
"final_summary": {
"final_test_acc": 0.95,
"final_test_target_acc": 0.95,
"final_test_rest_recall": NaN,
"best_acc": 0.945,
"best_epoch": 57,
"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.95,
"anytime_acc": {
"0.25": 0.6157142857142858,
"0.5": 0.8535714285714285,
"0.75": 0.9171428571428571,
"1.0": 0.95
},
"syn_per_inference": 3251424.406655844,
"dense_per_inference": 122675200.0,
"event_fraction_of_dense": 0.026504333448454487,
"syn_per_inference_dense_fanout": 64828042.19318182,
"weight_sparsity": 0.7324707846410685,
"num_ticks": 100,
"dt_ms": 50.0,
"margin_decision_acc": 0.4471428571428571,
"mean_decision_tick": 12.322857142857142,
"mean_decision_ms": 616.1428571428571,
"dense_forward_test_acc": 0.95
},
"extra_sweep_file_present": true,
"selftest": {
"mode": "gate",
"passed": true
},
"driver_version": 1,
"zip": {
"name": "ftbc_lr_0.5.zip",
"files": 81,
"bytes": 12251677,
"MB": 12.3,
"sha256": "77804b842073b38ff69c86ae0358cafc315ed019d7dc45240ea65afc1daf7137"
}
}