在运行模型python脚本时报错如下内容:
Traceback (most recent call last):
File "tools/onnx_custom.py", line 7, in <module>
from paddle2onnx.command import program2onnx
ModuleNotFoundError: No module named 'paddle2onnx'
解决办法
python3 -m pip install paddle2onnx --trusted-host pypi.tuna.tsinghua.edu.cn -i https://pypi.tuna.tsinghua.edu.cn/simple