xujiashuai/speech_eres2net_base_sv_zh-cn_cnceleb_16k
Model Introduction
Files & versions
Pull Requests
Discussion
Analysis

ERes2Net Speaker Verification Model (speech_eres2net_base_sv_zh-cn_cnceleb_16k)

ERes2Net is an enhanced Res2Net architecture with local and global feature fusion for speaker verification.

  • Model ID: iic/speech_eres2net_base_sv_zh-cn_cnceleb_16k
  • Task: Speaker Verification
  • Framework: PyTorch
  • Input: 16kHz mono audio
  • Output: 512-dim speaker embedding

Verification Environment

ItemValue
NPUAscend910B4
CANN8.5.1
PyTorch2.9.0+cpu
torch_npu2.9.0.post1
Python3.11.14

Accuracy Evaluation

CPU vs NPU cosine similarity using real audio sample:

MetricValue
Cosine Similarity1.000000

Inference Output

Output shape: [1, 512]
Output sample: [0.0856, -0.3106, 0.2295, 0.0755, -0.2715]
SUCCESS

Reproduction

python3 inference.py
python3 evaluate.py

Materials

  • inference.py - NPU inference script
  • evaluate.py - CPU vs NPU cosine similarity evaluation