Sample code to load from local checkpoint
#6
by
naveenbc
- opened
Hi,
I am looking for a sample code to download the files (embedding_model.ckpt, config ) files from huggingface and load the model from ckpt instead if below code. Any suggestion ? Thanks in advance
PretrainedSpeakerEmbedding
model = PretrainedSpeakerEmbedding(
"speechbrain/spkrec-ecapa-voxceleb",
device=torch.device("cuda"))
Could you solve how to do it?