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.

detectonic-2

Drone wake-word + sound-class detector (two-head: wake logit + 4-class sound) built on a SqueezeNet1.1-style backbone with fire modules, trained on log-mel spectrogram windows (5-s clips rendered as RGB images). KTA quantization β€” structured channel pruning followed by full int8 per-channel post-training quantization with a fused input-normalization graph (single input scale/zero-point), executed with vendor ESP-NN kernels on ESP32 (RISC-V PIE / S3) and XNNPACK on host.

Performance in context

Full results on the public leaderboard: https://huggingface.co/spaces/Tonic/audio-drone-detection-leaderboard Β· machine-readable rows in the Tonic/drone-detectonic-0.1-benchmark-results dataset.

hardware benchmark wake F1 unified F1 duty latency ms parity
esp32-s3-n8r8 c5-valid 0.5 0.9957 0.698 2098.8 drone c5_0002 wake=1 logit 18.79, ambient c5_0001 wake=0 log

Model size: params 362821 Β· ONNX 1.47 MB Β· train rows 209648 Β· epochs 8 Β· input 224px.

Architecture (3D wireframe + measured forward pass)

architecture + forward pass

Interactive explorer: docker image detectonic-explorer (demo/model_explorer, port 8080).

On-device forward inference (real capture)

ESP32-S31 serial forward pass

Demos (interactive explorer + forward pass)

Intended use

On-device acoustic drone detection on ESP32-class MCUs (ESP32-S31 PIE, ESP32-S3) and host CPUs: wake decision + sound classification per 5-s spectrogram window. Not for weapon/vehicle identification beyond the 4-class sound taxonomy.

Training data

Cited datasets (see frontmatter): Tonic/unified-drone-acoustic-cuas-v2, Tonic/unified-drone-acoustic-cuas-v2p1 β€” 209648 training windows with gain jitter and spectrogram masking augmentation; evaluation on clean rendered windows.

Evaluation

metrics.json (unified validation F1 0.9957, duty 0.698, held-out wake F1 0.5); per-clip predictions in preds_valid.jsonl / preds_test.jsonl; training log train_log.txt.

Artifacts

  • .gitattributes
  • SHA256SUMS.json
  • audio_wake_cnn.onnx
  • bench_s31_deploy.json
  • bench_s31_deploy.log
  • bench_s31_w9prune.json
  • bench_s31_w9prune.log
  • bench_xiao_w9prune.json
  • bench_xiao_w9prune.log
  • best.pt
  • int8/host_eval_w9prune.json
  • int8/model_w9prune_224_int8_fused.tflite
  • int8/model_w9prune_224_int8_pc.tflite
  • metrics.json
  • preds_test.jsonl
  • preds_valid.jsonl
  • train_log.txt

Integrity: SHA256SUMS.json where present.

Lineage

Derived from Tonic/detectonic-0.2.0-KTA-w8-multih-i224. Wave w9; quantization line KTA.

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for Tonic/detectonic-2

Datasets used to train Tonic/detectonic-2

Space using Tonic/detectonic-2 1

Collection including Tonic/detectonic-2

Evaluation results