Audio Models
Collection
16 items โข Updated
Configuration Parsing Warning:Invalid JSON for config file config.json
CPU+NPU hybrid speaker diarization segmentation for AX650 NPU.
Audio (16kHz mono, any length)
โ CPU: resample โ 4s sliding window โ LayerNorm
โ AX650 NPU: CNN feature extractor (7 conv, U16, 17.7ms)
โ CPU: WavLM Transformer (24L) + Conformer (4L) + Classifier (251ms)
โ Log-probabilities (1, 199, 11) per window
| Stage | Time | Hardware |
|---|---|---|
| CNN | 17.7 ms | AX650 NPU @1GHz |
| Backend | 251 ms | CPU ONNX Runtime |
| Total | 269 ms | 14.9x real-time |
End-to-end cosine: 0.9997 vs full FP32 reference.
models/ cnn_features.axmodel + backend.onnx
python/ Python SDK (diarizen_sdk)
cpp/ C++ SDK (diarizen_segmenter)
model_convert/ ONNX export + Pulsar2 compile config
reports/ SDK and simulation reports
pip install -r python/requirements.txt
python python/diarizen_sdk/example.py audio.wav \
--cnn-model models/cnn_features.axmodel \
--backend-model models/backend.onnx