Closed ryanwong00 closed 3 months ago
open speaker.py,change "def diarize": def diarize(self, audio_path: str, utt: str = "unk"): pcm, sample_rate = torchaudio.load(audio_path, normalize=False)
wav = read_audio(audio_path)
# 1. vad
vad_segments = get_speech_timestamps(wav, self.vad, return_seconds=True)
I think vad update to v5.0 causing this bug.
It's working now. Thanks a lot!
Hi all,
I am new to wespeaker. I followed the README doc to do the installation:
pip install git+https://github.com/wenet-e2e/wespeaker.git
When I run the diarization:
wespeaker --task diarization --audio_file ...
Some packages were still missing. I then installed them one by one:
pip install pyyaml requests scipy scikit-learn pysoundfile
After I installed them all, I got the following error:
I am running in Windows 10, python 3.11.3. Any one can help?
Thanks in advance, Ryan