You need to agree to share your Hugging Face information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Detectonic 0.1 β€” challenge-5 code (acoustic drone detection on ESP32)

This repo is the code for our Tonic submission to the Paris Hackathon 2026 challenge-5 (acoustic C-UAS: wake word + 4-class sound classification, Metis latency-weighted utility).

Related repos:

repo contents
Tonic/drone-detectonic-0.1 submitted model (SqueezeNet1.1 seed 7) + preds_valid.jsonl / preds_test.jsonl (gated)
Tonic/drone-detectonic-0.1-int8 / -esp32s31-int8 / -esp32s31-float quantized + fused TFLite/ONNX exports (gated)
Tonic/audio-drone-detection-leaderboard hosted leaderboard (97 rows, on-device tab)
Tonic/drone-detectonic-0.1-benchmark-results benchmark result rows
Tonic/unified-drone-acoustic-cuas 22 GB unified training dataset (gated)
Tonic/challenge5-acoustic-* (39 repos) per-run artifacts (ONNX, best.pt, preds, metrics.json, TFLite) (gated)

Layout

<name>.py                  training / job / publish scripts (work/*.py, also used by HF Jobs: resolve/main/<name>.py)
work/benchmarks/           dataset build, eval, board sweeps (bench_all.py, board_sweep_*.py), leaderboard publish scripts,
                           configs/, out/ (bench_all.json, board_wave4.json, board_xiao.json β€” measured results)
esp32_demo/                ESP32 firmware (firmware/node, firmware/node_s31), coordinator, host test harness, tools/
                           (export_tflite.py, train_nano.py, flash_model.py), FIRMWARE_FACTORY_PLAN.md,
                           CUSTOM_GEMM_PLAN.md, RESEARCH_NOTES.md, canonical fsdata/
SLUKH System Walkthrough/  single-file HTML walkthrough animation (open index.html; #t41..#t54 = on-device perf clock scene)
demo/                      ESP32-S31 demo notes + copy of the walkthrough
viewer.py                  challenge pack viewer
CHALLENGE.md               challenge statement
SUBMISSION_DETAILS_PROGRESS.md  full submission log: evals, kernel ladder, on-device results, gating/verification

Headline results (all measured, 56 challenge-5 clips, decision parity 56/56 vs float ONNX)

where per 5-s window
ESP32-S31 @ 320 MHz, deployed model (fused graph M7, @224) 1.311 s
ESP32-S31, SqueezeNet1.1 @128 (fastest variant) 0.701 s
Seeed XIAO ESP32-S3 (~$8 board), @128 / @224 1.234 s / 4.09 s
kernel ladder on S31: stock int8 TFLM >15 min β†’ TFLM float32 73.1 s β†’ custom im2col-GEMM 21.6 s β†’ ESP-NN M3 1.97 s β†’ M4 1.43 s β†’ M7 1.31 s Γ—104 from first working run to sub-second
host CPU, ORT float32 / int8 XNNPACK 4.13 ms / 9.09 ms

Wake F1 0.80 (challenge-valid), 4-class acc 0.875, camera-off 62.5%, utility 0.7438 (#1 of 31 wave-1/3 runs).

Reproduce

  1. Training/eval: work/benchmarks/ scripts (train_family.py, eval_ours.py, bench_all.py), dataset via build_hub_dataset.py.
  2. On-device: esp32_demo/FIRMWARE_FACTORY_PLAN.md + tools/flash_model.py (firmware factory, flash cache) β†’ board_sweep_*.py measure on-device.
  3. Push artifacts: work/push_code_01.py (this repo), publish_*.py (model/results repos).
Downloads last month
29
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Space using Tonic/drone-detectonic-0.1-code 1