In this article
This is a MobileNet-plus-transformer conversion with preprocessing inside the graph; numerical agreement does not establish a hardware speedup.
Identify the exported checkpoint correctly
The EfficientSED ONNX card describes a conversion of a frame-wise MobileNet with transformer blocks, not a TensorFlow Lite MicroNet. Its upstream checkpoint is fmn10+tf-256_advanced-kd-weak-strong. The exporter says the weights were neither retrained nor quantized.
The original EfficientSED repository confirms the architecture and checkpoint. Its models adapt MobileNetV3 for sound-event detection, then add sequence models and train with frame-level labels. Here, tf identifies the transformer sequence model; treating that abbreviation as a framework name would change the meaning of the artifact.
Raw audio enters a fixed window
The exported input is mono audio at 16 kHz, float32, with shape [1, 160000]: a 10-second window. Output shape is [1, 250, 447], giving frame-level sigmoid scores for the ordered classes. The spectrogram front end is already inside the graph.
This contract has practical consequences for an application processing longer recordings. It must choose a windowing and boundary policy rather than assume arbitrary-length input is accepted. Padding a short clip also creates a distinction between real audio duration and the model’s fixed window; padded regions should not silently become reported recording time.
Conversion changes the computation’s representation
The exporter replaces the upstream spectral transform with a convolution-based DFT for ONNX Runtime Web compatibility. It also places sigmoid in the graph, transposes the output and exports only the strong, frame-level head.
An application must therefore avoid applying a second sigmoid or supplying an already prepared spectrogram to a raw-waveform input. Likewise, the class-label list must remain paired with the output order. The audio normalization guide provides related reasoning about preserving a model’s preprocessing boundary, although its AST-specific normalization values are not EfficientSED settings.
Reported agreement is not a hardware speedup
The card reports output differences within 1e-6 against the original PyTorch model on real audio and browser decision agreement of at least 99.96%. These are the exporter’s checks, with their own tested conditions. They are useful evidence of conversion fidelity, not an independent performance certification.
Separately, the upstream table explicitly describes its PSDS1 entries as configuration means rather than exact checkpoint scores. A paper quality metric, numerical output comparison and browser application comparison answer different questions. None should be promoted into an unmeasured CPU-versus-GPU latency result.
A deployment comparison would retain preprocessing time, session initialization, window execution and postprocessing separately. It would also distinguish an already loaded browser session from fetching and preparing the artifact. The benchmark methodology guide explains why those timing boundaries matter.
Preserve provenance with the export
The upstream MIT license requires preservation of its notice. The conversion card follows that repository license while noting the absence of a separate upstream weights statement. Its MIT tag should be read together with that explanation, not expanded into an independently established rights clearance for every component.
Keep the original checkpoint identifier, exported graph, labels, license and the exact front-end description together. Then test representative audio, including events crossing window boundaries and short padded clips. The verified release is a concrete browser-oriented packaging effort; the extent of its portability and performance remains bounded by the actual provider, device and tests used.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.