We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
pip install setuptools wheel auditwheel auditwheel-symbols build
python -m build
另外:是否考虑添加一个requirements.txt文件,这样可以比较方便的将所需的python库一次性安装上~
The text was updated successfully, but these errors were encountered:
感谢大佬帮忙整理
Sorry, something went wrong.
是否考虑添加一个requirements.txt文件,这样可以比较方便的将所需的python库一次性安装上
现在我们改成用pyproject来构建项目了,不再使用requirements.txt的形式来安装依赖,而且本身Paddle2ONNX没有硬性依赖其他库
其实看这个文件更直接: https://github.com/PaddlePaddle/Paddle2ONNX/blob/develop/.github/workflows/build_and_test.yml
我还想着找时间,把需要自己本地编译 protobuf 这个很没必要的步骤给干掉。
确实,似乎只用到了bin,感觉编译也挺浪费时间
Zheng-Bicheng
No branches or pull requests
整体上按照docs/zh/compile_local.md文档中的介绍进行安装即可,但是需要在编译安装前执行
pip install setuptools wheel auditwheel auditwheel-symbols build
,否则执行文档中最后的python -m build
会报错。编译完成之后需要手动安装dist目录下的paddle2onnx whl包
执行单测前需要安装以下python库,安装后执行pytest test_abs.py即可
另外:是否考虑添加一个requirements.txt文件,这样可以比较方便的将所需的python库一次性安装上~
The text was updated successfully, but these errors were encountered: