Closed yilmazay74 closed 1 year ago
whisper-timestamped should be able to load finetuned models (with Speechbrain or transformers).
You are not giving the code you use for real investigation. But given those lines...
File "/home/tekrom/components/whisper/service/init.py", line 29, in create_app
model = load_model("service/models/medium-v4/pytorch_model.bin", device="cpu")
...I guess you are using the loading function from whisper, not the one from whisper-timestamped.
try
from whisper_timestamped import load_model
Thanks Jerome. Looks like that is it :) Thanks for pointing.
Discussed in https://github.com/linto-ai/whisper-timestamped/discussions/129