Speech-to-text, text-to-speech, speaker diarization, and VAD using next-gen Kaldi with onnxruntime without Internet connection. Support embedded systems, Android, iOS, Raspberry Pi, RISC-V, x86_64 servers, websocket server/client, C/C++, Python, Kotlin, C#, Go, NodeJS, Java, Swift, Dart, JavaScript, Flutter, Object Pascal, Lazarus, Rust
3.41k
stars
408
forks
source link
windows上运行speaker-identification-with-vad.py,提示sherpa_onnx没有SpeakerEmbeddingExtractor成员 #537
Closed
zhoulei007 closed 9 months ago
(py3_8) PS D:\gamefiles\Kaldi\cp2\sherpa-onnx> .\go.bat
D:\gamefiles\Kaldi\cp2\sherpa-onnx>python D:\gamefiles\Kaldi\cp2\sherpa-onnx\python-api-examples\speaker-identification-with-vad.py --silero-vad-model=D:\gamefiles\Kaldi\silero_vad.onnx --speaker-file speaker.txt --model wespeaker_zh_cnceleb_resnet34.onnx Traceback (most recent call last): File "D:\gamefiles\Kaldi\cp2\sherpa-onnx\python-api-examples\speaker-identification-with-vad.py", line 169, in
extractor: sherpa_onnx.SpeakerEmbeddingExtractor,
AttributeError: module 'sherpa_onnx' has no attribute 'SpeakerEmbeddingExtractor'
D:\gamefiles\Kaldi\cp2\sherpa-onnx>pause 请按任意键继续. . .