-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, onnx issue when running the inference part of examples/chinese_prosody_polyphone/run.sh #133
Comments
python g2p_prosody.py
ready to run?
hi, when I am running examples/chinese_prosody_polyphone/run.sh, the last part is inference part, I got the following error also before that, when I convert .pt file to .onnx file, it also hints me to use onnx version 14 instead of version 13, otherwise the conversion would fail |
I have also encountered the same problem. I'm not sure if you have found a solution to this problem |
The pre trained model provided by the official uses the onnx file exported from Torch version 1.13.1. However, there is no limited version in requirements. txt, so the 2.0.1 torch will be downloaded. Solution: Option 1: requirements. txt torch==1.13.1 If the specific reason is unclear, why is the dynamic in torch. onnx. export included in version 2.x The first axis of the input in axes has been set to "T", representing "dynamic", but it has not taken effect |
pytorch 2.0+ bug: see: pytorch/pytorch#99701 |
Hi, I went to the frontend folder, it seems the g2p_prosody.py is a ready-to-go inference script, only with this missing files. So where am I suppose to find these files in this repo? Correct me if you would, thanks.
usage: g2p_prosody.py [-h] --text TEXT --hanzi2pinyin_file HANZI2PINYIN_FILE --polyphone_phone_file POLYPHONE_PHONE_FILE --polyphone_prosody_model POLYPHONE_PROSODY_MODEL
The text was updated successfully, but these errors were encountered: