wenet-e2e / wespeaker

Research and Production Oriented Speaker Verification, Recognition and Diarization Toolkit
Apache License 2.0
630 stars 109 forks source link

[feature] cli support for pretrained model locally #237

Closed wsstriving closed 9 months ago

wsstriving commented 9 months ago

In some cases, we don't want to use the provided version in hugging face:

1) use models in the pretrained page 2) use the models trained by the userself

Add a --pretrain flag to the cli command, if this is speficied, the model will be loaded from a local path.