An ONNX export of the fmn10+tf-256_advanced-kd-weak-strong checkpoint from EfficientSED: a frame-wise MobileNet (fmn10) with two small transformer blocks on top, trained on AudioSet's frame-level (strong) labels with knowledge distillation. About 5.0M parameters. It takes raw audio and returns a probability for each of 447 sound classes every 40 ms. The spectrogram front end is part of the graph, and the model runs in browsers with ONNX Runtime Web.
This copy is hosted for SoundScope, a browser app for finding sounds in long recordings. It is a format conversion; no weights were retrained, fine-tuned or quantized.
| File | Size | What |
|---|---|---|
efficientsed_fmn10_tf256.onnx |
22.09 MB | the model (opset 17, float32) |
efficientsed_fmn10_tf256.onnx.gz |
19.20 MB | the same bytes, gzip-compressed (Hugging Face serves files uncompressed); unpack with DecompressionStream("gzip") |
labels.json |
the 447 class names, in output order | |
LICENSE |
upstream MIT licence |
SHA-256 of efficientsed_fmn10_tf256.onnx: 109c26bab55dc45779250b0e2a02610d3c9cf6aad2e0a3791faad5eaa27b11f3
waveform: float32, shape [1, 160000], mono, 16 kHz, values in [-1, 1]. The length is fixed at 10 s, because the transformer always sees 250 frames. Pad shorter audio with zeros.scores: float32, shape [1, 250, 447], sigmoid probabilities, one row per 40 ms.import * as ort from "onnxruntime-web";
const session = await ort.InferenceSession.create("efficientsed_fmn10_tf256.onnx");
const audio = new Float32Array(160000); // 10 s of 16 kHz mono
const { scores } = await session.run({ waveform: new ort.Tensor("float32", audio, [1, 160000]) });
// scores.dims = [1, 250, 447]
torch.stft. For the export it was replaced by an equivalent conv1d DFT (same Hann window centred in a 512-point FFT, hop 160, reflect padding, pre-emphasis, Kaldi mel banks, log, (x + 4.5) / 5), so the graph uses only ops that ONNX Runtime Web supports.[1, frames, classes].Checked against the original PyTorch model on real audio: output max difference within 1e-6, in PyTorch and in ONNX Runtime (Python). In the browser (ONNX Runtime Web, WASM, Edge), the stored scores matched Python on 99.96% or more of decisions.
The model, weights and training are by Tobias Morocutti, Florian Schmid, Jonathan Greif, Francesco Foscarin and Gerhard Widmer, from the paper Exploring Performance-Complexity Trade-Offs in Sound Event Detection Models (EUSIPCO 2025). The code builds on PretrainedSED. It is released under the MIT licence (see LICENSE, copyright (c) 2024 Florian Schmid). The upstream repository has no separate licence statement for the weights; this copy follows the repository's MIT licence.