Fix issue causing remote loading, even when local available
#17
by
pplantinga
- opened
No description provided.
@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
@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.