Fix issue causing remote loading, even when local available

#17
SpeechBrain org
No description provided.
SpeechBrain org

@pplantinga I am not sure that this is correct, it should break the loading, right? All our. models on huggingface use the pretrainer.

If you check any of our other models, they all follow a similar format where the paths are not provided to the pretrainer. Instead the source is passed to collect_files in the from_hparams

Titouan changed pull request status to merged
SpeechBrain org

@pplantinga I trust you. Can you verify that it is fixed now?

It seems that this change caused problem with loading model.

Entry Not Found for url: https://huggingface.co/speechbrain/spkrec-ecapa-voxceleb/resolve/main/label_encoder.ckpt.

Sign up or log in to comment