p-j-r-1-2-3's picture
add run ftbc_ticks_4
e67ddac 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_ticks_4",
"tag": "ftbc_ticks_4",
"script": "opt03_ftbc_threshold_balance.py",
"script_sha256_16": "b61e2bfeb6416b99",
"hf_folder": "applied/opt03_ftbc_threshold_balance",
"priority": 1,
"note": "hardest temporal compression",
"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/ftbc_ticks_4",
"--keep-epoch-weights",
"1",
"--resplit",
"block",
"--drop-rest",
"--bench",
"--ftbc-target-ticks",
"4"
],
"flags": [
"--ftbc-target-ticks",
"4"
],
"epochs_requested": 60,
"gpus": 2,
"relative_epoch_cost": 1.0,
"exit_code": 0,
"status": "ok",
"duration_s": 376.0,
"started_utc": "2026-08-23T04:14:35.386011+00:00",
"finished_utc": "2026-08-23T04:20:51.354253+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.915,
"test_target_acc": 0.915,
"best_val_acc": 0.9428571428571428
},
"efficiency": {
"spikes_per_inference": null,
"syn_ops_per_inference": 3276270.6355519476,
"dense_macs_per_inference": 122675200.0,
"event_fraction_of_dense": 0.026706870137989974,
"syn_ops_per_inference_dense_fanout": 64852888.422077924,
"weight_sparsity": 0.7324707846410685,
"effective_ticks": 12.065,
"num_ticks": 100,
"membrane_bytes_per_inference": 451200,
"weight_bytes": 4907008,
"input_raster_bytes": null,
"train_ms_per_step": 96.65914569995948,
"infer_ms_per_sample": 0.6326527268748805,
"peak_vram_mb": 2825.361408
},
"optimization_specific": {
"calibrate_thresh": true,
"ftbc": true,
"calib_percentile": 99.9,
"calib_batches": 8,
"ftbc_target_ticks": 4,
"ftbc_ref_ticks": 100,
"trained_T": 100,
"thresh_before": [
1.0,
1.0,
1.0,
1.0
],
"thresh_after": [
2.3257808685302734,
0.8485923409461975,
1.1052438020706177,
2.675086736679077
],
"min_ticks_within_1pct_of_full": 50,
"min_ticks_within_1pct_per_arm": {
"raw": 100,
"thresh": 50,
"ftbc": 100,
"both": 50
},
"speedup_at_min_ticks": 2.0,
"full_T_acc": 0.9407142857142857,
"t_sweep_rows": [
{
"T": 4,
"arm": "raw",
"acc": 0.25357142857142856,
"syn_per_inference": 1866350.0876623376,
"dense_per_inference": 4907008.0,
"event_fraction_of_dense": 0.3803438037317929
},
{
"T": 4,
"arm": "thresh",
"acc": 0.3892857142857143,
"syn_per_inference": 1827417.9788961038,
"dense_per_inference": 4907008.0,
"event_fraction_of_dense": 0.3724098226243169
},
{
"T": 4,
"arm": "ftbc",
"acc": 0.24,
"syn_per_inference": 2029696.7150974027,
"dense_per_inference": 4907008.0,
"event_fraction_of_dense": 0.4136322408884197
},
{
"T": 4,
"arm": "both",
"acc": 0.3535714285714286,
"syn_per_inference": 2008604.635551948,
"dense_per_inference": 4907008.0,
"event_fraction_of_dense": 0.40933388238860585
},
{
"T": 8,
"arm": "raw",
"acc": 0.5685714285714286,
"syn_per_inference": 2049632.3157467535,
"dense_per_inference": 9814016.0,
"event_fraction_of_dense": 0.2088474601780508
},
{
"T": 8,
"arm": "thresh",
"acc": 0.7478571428571429,
"syn_per_inference": 1954472.2467532465,
"dense_per_inference": 9814016.0,
"event_fraction_of_dense": 0.19915111680613182
},
{
"T": 8,
"arm": "ftbc",
"acc": 0.4014285714285714,
"syn_per_inference": 2281707.7126623373,
"dense_per_inference": 9814016.0,
"event_fraction_of_dense": 0.2324948026029647
},
{
"T": 8,
"arm": "both",
"acc": 0.5271428571428571,
"syn_per_inference": 2195008.1331168828,
"dense_per_inference": 9814016.0,
"event_fraction_of_dense": 0.22366054152722828
},
{
"T": 16,
"arm": "raw",
"acc": 0.7928571428571428,
"syn_per_inference": 2341867.364448052,
"dense_per_inference": 19628032.0,
"event_fraction_of_dense": 0.11931238773444286
},
{
"T": 16,
"arm": "thresh",
"acc": 0.8914285714285715,
"syn_per_inference": 2129525.081168831,
"dense_per_inference": 19628032.0,
"event_fraction_of_dense": 0.10849407017314985
},
{
"T": 16,
"arm": "ftbc",
"acc": 0.6742857142857143,
"syn_per_inference": 2635164.2467532465,
"dense_per_inference": 19628032.0,
"event_fraction_of_dense": 0.13425514319281967
},
{
"T": 16,
"arm": "both",
"acc": 0.8021428571428572,
"syn_per_inference": 2416293.149350649,
"dense_per_inference": 19628032.0,
"event_fraction_of_dense": 0.12310419859467568
},
{
"T": 25,
"arm": "raw",
"acc": 0.8671428571428571,
"syn_per_inference": 2564796.465909091,
"dense_per_inference": 30668800.0,
"event_fraction_of_dense": 0.0836288497074907
},
{
"T": 25,
"arm": "thresh",
"acc": 0.9185714285714286,
"syn_per_inference": 2248590.5771103897,
"dense_per_inference": 30668800.0,
"event_fraction_of_dense": 0.0733185053575748
},
{
"T": 25,
"arm": "ftbc",
"acc": 0.8357142857142857,
"syn_per_inference": 2893416.010551948,
"dense_per_inference": 30668800.0,
"event_fraction_of_dense": 0.09434395902519656
},
{
"T": 25,
"arm": "both",
"acc": 0.8971428571428571,
"syn_per_inference": 2565715.890422078,
"dense_per_inference": 30668800.0,
"event_fraction_of_dense": 0.08365882885610386
},
{
"T": 50,
"arm": "raw",
"acc": 0.9271428571428572,
"syn_per_inference": 2920697.4196428573,
"dense_per_inference": 61337600.0,
"event_fraction_of_dense": 0.04761675415475756
},
{
"T": 50,
"arm": "thresh",
"acc": 0.9357142857142857,
"syn_per_inference": 2432894.0706168828,
"dense_per_inference": 61337600.0,
"event_fraction_of_dense": 0.03966399191714189
},
{
"T": 50,
"arm": "ftbc",
"acc": 0.925,
"syn_per_inference": 3274119.156655844,
"dense_per_inference": 61337600.0,
"event_fraction_of_dense": 0.053378664255788355
},
{
"T": 50,
"arm": "both",
"acc": 0.9328571428571428,
"syn_per_inference": 2782566.975649351,
"dense_per_inference": 61337600.0,
"event_fraction_of_dense": 0.04536478400930833
},
{
"T": 100,
"arm": "raw",
"acc": 0.9407142857142857,
"syn_per_inference": 3276270.607142857,
"dense_per_inference": 122675200.0,
"event_fraction_of_dense": 0.026706869906410236
},
{
"T": 100,
"arm": "thresh",
"acc": 0.915,
"syn_per_inference": 2706793.6566558443,
"dense_per_inference": 122675200.0,
"event_fraction_of_dense": 0.022064717698897937
},
{
"T": 100,
"arm": "ftbc",
"acc": 0.9428571428571428,
"syn_per_inference": 3695140.096590909,
"dense_per_inference": 122675200.0,
"event_fraction_of_dense": 0.030121329303648244
},
{
"T": 100,
"arm": "both",
"acc": 0.9235714285714286,
"syn_per_inference": 3080125.265422078,
"dense_per_inference": 122675200.0,
"event_fraction_of_dense": 0.025107970196275024
}
],
"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_ticks_4",
"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": 4,
"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.9407142857142857,
"final_test_target_acc": 0.9407142857142857,
"final_test_rest_recall": NaN,
"best_acc": 0.9428571428571428,
"best_epoch": 58,
"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.9407142857142857,
"anytime_acc": {
"0.25": 0.64,
"0.5": 0.8407142857142857,
"0.75": 0.9171428571428571,
"1.0": 0.9407142857142857
},
"syn_per_inference": 3276270.6355519476,
"dense_per_inference": 122675200.0,
"event_fraction_of_dense": 0.026706870137989974,
"syn_per_inference_dense_fanout": 64852888.422077924,
"weight_sparsity": 0.7324707846410685,
"num_ticks": 100,
"dt_ms": 50.0,
"margin_decision_acc": 0.4521428571428571,
"mean_decision_tick": 12.065,
"mean_decision_ms": 603.2500000000001,
"dense_forward_test_acc": 0.9407142857142857
},
"extra_sweep_file_present": true,
"selftest": {
"mode": "gate",
"passed": true
},
"driver_version": 1,
"zip": {
"name": "ftbc_ticks_4.zip",
"files": 81,
"bytes": 12252531,
"MB": 12.3,
"sha256": "39894bf766dfc01050bbdf50b22610539beef55eb6c6cb000c5313ad3481fe44"
}
}