Paddle2ONNX
Paddle2ONNX copied to clipboard
bash: paddle2onnx: command not found => How to fix it?
Please fill in the information below so that we can solve the problem quickly, Thanks !
Describe the bug A clear and concise description of what the bug is.
First, install paddle2onnx.
After that, I try to use paddle2onnx, then command not found error occur.
How can I fix it?
Informations (please complete the following information):
- Inference engine for deployment:
- Why convert to onnx:Need to convert TensorRT.
- Paddle2ONNX Version: 1.1.0
- Email/Wechat/Phone:
Screenshots
Additional context
Hi @PeterKim1, please check if paddle2onnx is in your environment variables, it is recommended to use paddle2onnx in a virtual environment.
as a workaround, please try: python -mpaddle2onnx.command
, paddle2onnx command is kind of shortcut for this module.
BTW: I am confused by the versioning of this package, we have package with version greater than 1.0.7 on pip, see: https://pypi.org/project/paddle2onnx/#history, but the latest tag in the code repository is 1.0.7, anyone knows the reason?