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.

Challenge-5 acoustic wake model: efficientnet_lite0 (seed 42) β€” wave 3

Two-head CNN over 224x224 log-mel windows (challenge-5 spectrogram rendering, correlation 0.96 with the starter kit's PNGs). Input spectrogram [1,3,224,224] in [0,1] with ImageNet normalization baked in-graph. Outputs: wake_logit [1] and sound_class_logits [1,4] (drone_buzz / vehicle_mechanical / explosion / ambient_outdoor). The validation-selected wake_threshold is stored in the ONNX metadata and is applied automatically by starter-kit/predict_onnx_baseline.py.

Configuration

item value
architecture efficientnet_lite0
seed 42
training dataset Tonic/challenge5-train-subset (config windows_5s)
epochs / batch / lr 12 / 64 / 0.0003
train rows 68016 (incl. challenge-5 train clips oversampled)
val rows 4000
HF job 6b01b200 flavor=t4-small
job wall-time / cost 39.1 min / ~$0.262
matrix rank (wave-3, by challenge utility) #7 of 13

Performance

challenge-5 validation (8 clips, scored split)

metric value
wake F1 0.0000
sound-class accuracy (4 classes) 0.7500
optical duty cycle 0.0000
optical inactivity 100.00%
wake threshold (in ONNX metadata) 0.0500
tp / fp / fn 0 / 0 / 2

unified-dataset validation (held-out groups)

metric value
wake F1 0.9976
duty cycle 0.7762
utility (F1 - 0.15*duty) @ thr 0.8815 @ 0.0500

efficiency (Axelera Embedded 110m target: 214 TOPS INT8, 1 GB DRAM, 3.5-9 W)

metric value
ORT CPU latency (mean) 4.92 ms / 5-s window
parameters 3.38M
ONNX size 13.55 MB

Files

  • audio_wake_cnn.onnx β€” static graph, opset 17, dynamo=False; reads wake_threshold from metadata
  • best.pt β€” PyTorch checkpoint (where kept)
  • metrics.json β€” machine-readable full metrics (this card is generated from it)
  • preds_valid.jsonl / preds_test.jsonl β€” challenge submission format (clip id, wake decision, sound class)
  • train_log.txt β€” full training log

Usage

import onnxruntime as ort
sess = ort.InferenceSession("audio_wake_cnn.onnx")
thr = float(sess.get_modelmeta().custom_metadata_map["wake_threshold"])
wake_logit, class_logits = sess.run(None, {"spectrogram": img})  # img: [1,3,224,224] float32 in [0,1]
wake = wake_logit[0, 0] >= thr

Axelera compile: axcompile -i audio_wake_cnn.onnx --imageset calibration_spectrograms/ --input-shape 1,3,224,224

Links

Verified performance (2026-11-27, reproduced from this repo's ONNX)

challenge-5 valid/ (8 clips, pack PNG spectrograms, thr=0.05): wake F1 = 0.0000, class acc = 0.7500, tp/fp/fn/tn = 0/0/2/6. reproduced from published ONNX.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support