Problem loading german onnx model #46
-
Please Support: I have tried both the english pytorch model and the onnx model. Both work fine on different wav files i've tried. After that i tried the same for the german models. Again the pytorch model is fine, but the onnx model seems totally off. So my idea was to export to create a new onnx model from the pytorch-model using "torch.onnx.export(...)", but unfortunately this fails with error:
I was looking for a fix but could'nt find any clue on how to make this work. Any ideas here ? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
In theory they should have roughly similar outputs. |
Beta Was this translation helpful? Give feedback.
-
My theory is that you forgot to change
|
Beta Was this translation helpful? Give feedback.
-
Yes, your theory was correct. I stupidly assumed that by setting the language at the top it should be set everywhere it occurs. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Well, this could have been prevented
In any case, a PR with minor fixes like this would be appreciated |
Beta Was this translation helpful? Give feedback.
My theory is that you forgot to change
en
tode
in this linetorch.hub.download_url_to_file(models.stt_models.de.latest.onnx, 'model.onnx', progress=True)