Versions Compared

Key

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

...

The tool versions involved in the current document are as follows:

NPU Kernel Driver

v6.4.15.9

Acuity Toolkit

6.21.1

ViviantelIDE

5.8.2

1. Model Conversation

Before the conversion, it is necessary to first set up the environment for model conversion. Please refer to the following document to prepare the environment:NN Model Conversion

...

  1. Create inputs_outputs.txt file and get the information from yolov8s.onnx via netron tool/webpage. Here is the onnx file:

    View file
    nameyolov8s_onnx.zip

...

write --input-size-list and --outputs informations to inputs_outputs.txt:

...

1.2. Implementing

Using shell script tools converts to convert the model from ONNX to the NB file. There are 4 steps: import quantize inference and export. Tools are in ~/c3v/Models:

...