-
Notifications
You must be signed in to change notification settings - Fork 492
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
Collab Notebook for Piper_model_exporter.ipynbnot working accurately #587
Comments
I am also experiencing the same problem. Any assistance would be greatly appreciated. |
Hi @rajuaryan21 and @Asitjoshi45, |
Yes, it’s working! You’re a lifesaver. The open-source world would be nothing without people like you. I’m glad to be living in an era where people like you exist. |
Hi @rmcpantoja, |
dunno if something happened in the last few days but the export is again not exporting the onnx file... |
@SvenSvenson38 |
Finally that worked! Thanks! |
Hey, where do I make this change in collab notebook? Any help is appreciated. |
changed everything as you said, but got this as output. Still not able to generate model. Installing... /sbin/ldconfig.real: /usr/local/lib/libtbbbind_2_5.so.3 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libtbbmalloc.so.2 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libtbbbind.so.3 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libur_adapter_level_zero.so.0 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libtbbmalloc_proxy.so.2 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libur_adapter_opencl.so.0 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libur_loader.so.0 is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libtbbbind_2_0.so.3 is not a symbolic link ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 31.3 MB/s eta 0:00:00
|
I think I just managed to make it work with torch==2.5.0 and torchaudio==2.5.0 but I'm not 100% sure because I first tried with 2.4.1 (didn't work as you said) and then tried this. Let me check tomorrow and I'll re-comment asap. |
In the "Install software. 📦" code, change torch to torch==2.5.0, pytorch-lightning to pytorch-lightning==2.2.0, torchaudio to torchaudio==2.5.0 and finally torchtext to torchtext==0.18.0. For now (2024-10-31) doing this works but it may change with newer versions of torch. If you're lazy to change everything manually, replace the code with this:
If there are other problems let me know, have a good day. |
This worked for a few days. But, I see today, the same error. Onnx file is not exporting, just the json file. Seems like, there is again again python library upgrade. Did you experience this too? |
I just saw, even the training notebook is giving the same error. Here is the output code. 2024-11-12 23:47:15.720399: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable |
This notebook here is not working accurately: https://colab.research.google.com/github/rmcpantoja/piper/blob/master/notebooks/piper_model_exporter.ipynb
This is not generating any .onnx file. Just the Model_CARD and .onnx.json file no onnx file.
Here is the output it shows:
/content/piper/src/python
Downloading model and his config...
Compressing...
./
./MODEL_CARD
./en_US-raj-high.onnx.json
Done!
Few weeks ago, this notebook was working and correctly generating onnx file from ckpt file. is somethig missing or needs to be done now?
Any help is greatly appreciated.
The text was updated successfully, but these errors were encountered: