wenet-e2e / wespeaker

Research and Production Oriented Speaker Verification, Recognition and Diarization Toolkit

Repository from Github https://github.comwenet-e2e/wespeakerRepository from Github https://github.comwenet-e2e/wespeaker

Failed to download a model from Huggingface hub

rose-jinyang opened this issue · comments

Hello
How are you?
Thanks for contributing to this project.
I tried to run the demo code for speaker diarization.

import wespeaker

model = wespeaker.load_model('english')
embedding = model.extract_embedding('audios/english/121-121726-0000.wav')
similarity = model.compute_similarity('audios/english/121-121726-0000.wav',
'audios/english/1284-1180-0000.wav')
diar_result = model.diarize('6-speakers-english_16k_mono.wav')

But it is failed to download the model from Huggingface hub.
I think that it is because an access token to huggingface hub is not given in the script.

Oh, your model is not from hugginggface hub.