...

Code Block
$ ./onnx_conversion.sh setting.conf
Info

If an error occurs, please check the environment settings (source setup_env.sh) below. You will need to do this every time you restart your computer.

Install AI model convert tool - Technology Partner FAQ (En) - Confluence

yolov5 / yolov8

Download sample model.

Code Block
(yolov5)
$ cd /home/cvtool/conversion/onnx/yolov5
$ ./setup_yolov5.sh

(yolov8)
$ cd /home/cvtool/conversion/onnx/yolov8
$ ./setup_yolov8.sh
Info

The file size to be downloaded will be several GB. Please make sure you have enough free space before proceeding.

Convert the model.

Code Block
$ ./onnx_conversion.sh setting.conf
Info

If an error occurs, please check the environment settings (source setup_env.sh) below. You will need to do this every time you restart your computer.

Install AI model convert tool - Technology Partner FAQ (En) - Confluence

Info

Depending on your PC environment, you may need up to 8GB of memory (RAM). If it fails, please check your memory capacity.

The model after conversion is output to the following directory.

...

Code Block
$ ./onnx_conversion.sh setting.conf
Info

If an error occurs, please check the environment settings (source setup_env.sh) below. You will need to do this every time you restart your computer.

Install AI model convert tool - Technology Partner FAQ (En) - Confluence

setting.conf

...

Note

From v1.20, parameter "CAVALRY_VER" is removed that existed in setting.conf until v1.19.
If you use setting.conf from v1.19 or earlier, please remove "CAVALRY_VER" from it.

...