添加了 ONNX 构建过程中可能遇到的问题及解决方法,具体包括: - 克隆 ONNX 仓库 - 更新子模块 - 设置 CMAKE_ARGS 参数 - 使用 pip 安装
219 B
219 B
onnx Cannot build wheel
fix command:
git clone https://github.com/onnx/onnx.git
cd onnx
git submodule update --init --recursive
# prefer lite proto
set CMAKE_ARGS=-DONNX_USE_LITE_PROTO=ON
pip install -e .