- 更新 README.md 中的 ONNX构建指南,增加新版本的安装步骤 - 在 runs/detect/final_model 和 runs/detect/train 目录下添加训练配置文件 args.yaml - 配置文件包含模型训练的各种参数设置,为后续训练提供详细配置
27 lines
559 B
Markdown
27 lines
559 B
Markdown
onnx Cannot build wheel
|
|
|
|
fix command:
|
|
|
|
```bash
|
|
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 .
|
|
```
|
|
|
|
```bash
|
|
git clone -b rel-1.17.0 https://github.com/onnx/onnx.git
|
|
cd onnx
|
|
git submodule update --init --recursive
|
|
# prefer lite proto
|
|
set CMAKE_ARGS="-DONNX_USE_PROTOBUF_SHARED_LIBS=ON"
|
|
set CMAKE_ARGS=-DONNX_USE_LITE_PROTO=ON
|
|
pip install -e .
|
|
```
|
|
|
|
```bash
|
|
set CMAKE_ARGS="-DONNX_USE_PROTOBUF_SHARED_LIBS=ON"
|
|
pip install onnx<1.18.0
|
|
``` |