Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We will explain the differences between the AI model conversion tools for ambaCV2X and ambaCV5X. The procedure for ambaCV2X is explained here. Please also check.

Differences in environment construction

...

If you need a password, please use "cv".

...

If you want to run it for ambaCV5X, please do the following. It is not necessary when running for ambaCV2X.

...

Set the environment (inside the container).

  • For ambaCV2X camera

Code Block
$ cd /home/cvtool
/

$ source setup_env.sh
file to configure for ambaCV5X.

Edit the first line as shown below.(cv22 to cv52)

before
source /usr/local/amba-cv-tools-basic.2.5.2.0.1210.ubuntu-18.04/env/cv22.env

after
source /usr/local/amba-cv-tools-basic.2.5.2.0.1210.ubuntu-18.04/env/cv52.env

...

  • For ambaCV5X camera

Code Block
$ cd /home/cvtool
$ source setup_env.sh ipro-ambaCV5X

 

Differences between Caffe/Tensorflow/ONNX (PyTorch)

Setting.conf

CAVALRY_VER is "2.1.7" for ambaCV2X, but please set "2.2.8.2" for ambaCV5X.

...

Conversion

The model after conversion is output to the following directory.

  • For ambaCV2X camera

${OUTPUT_DIR}/${NET_NAME}/${PARSER_OPTION}/[model name]

  • For ambaCV5X camera

${OUTPUT_DIR}/${NET_NAME}_ambaCV5X/${PARSER_OPTION}/[model name]

Info

This applies to all Caffe, Tensorflow, ONNX (PyTorch).

...