Can't load fine-tuned model #733
-
|
I've fine-tuned a model using Trying to load it: But get this error: Please advise how do I supposed to load the fine-tuned model. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
|
Will your custom model load, if you use the direct loading function? silero-vad/src/silero_vad/model.py Lines 33 to 36 in 63fe03a |
Beta Was this translation helpful? Give feedback.
-
|
Basically yes - And I could run the model like this: It works, but I'd like to load it more... gracefully :) |
Beta Was this translation helpful? Give feedback.
-
|
Without modifications, this looks a bit more polished, if you need to use the utils from the library: from silero_vad import (read_audio,
get_speech_timestamps)
model = torch.jit.load(local_path)
model.eval() |
Beta Was this translation helpful? Give feedback.
-
|
@PavelPanjaya Thanks, is the performance improvement of the fine-tuned model significant on your dataset? |
Beta Was this translation helpful? Give feedback.
Without modifications, this looks a bit more polished, if you need to use the utils from the library: