FluidInference/campplus-coreml
0
CAM++ — CoreML (Apple Neural Engine)
CoreML conversion of FunASR's CAM++ speaker-embedding model (~7.2M params), for on-device speaker verification / diarization on Apple Silicon. Upstream: iic/speech_campplus_sv_zh-cn_16k-common.
Files
Pipeline
waveform → [Preprocessor fp32/CPU] → fbank [1,T,80]
→ [CAM++ fp16/ANE] → embedding [1,192] (L2-normalize, then cosine for verification/clustering)CAM++ normalizes the fbank internally. The 192-d embedding is used with cosine similarity for speaker verification and diarization clustering.
Benchmark — AISHELL-1 speaker verification
AISHELL-1 (clean read Mandarin) is easier than the official CN-Celeb (~6-7%). CoreML↔torch embedding cosine 0.9997-0.99999.
License
Weights derive from FunASR's CAM++; upstream license applies. Format conversion only.
