mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-18 20:27:53 +00:00
openvino : update convert-whisper-to-openvino.py to support v3 (#1459)
This commit is contained in:
parent
0de8582f65
commit
953419c69a
@ -9,7 +9,7 @@ import shutil
|
||||
def convert_encoder(hparams, encoder, mname):
|
||||
encoder.eval()
|
||||
|
||||
mel = torch.zeros((1, 80, 3000))
|
||||
mel = torch.zeros((1, hparams.n_mels, 3000))
|
||||
|
||||
onnx_folder=os.path.join(os.path.dirname(__file__),"onnx_encoder")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user