Skip to content

Commit

Permalink
openvino : update convert-whisper-to-openvino.py to support v3 (ggerg…
Browse files Browse the repository at this point in the history
  • Loading branch information
bobqianic authored and felrock committed Nov 18, 2023
1 parent 597b433 commit 724aae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/convert-whisper-to-openvino.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
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")

Expand Down

0 comments on commit 724aae7

Please sign in to comment.