This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:vim4:npu:demos:yolov7-tiny [2024/12/03 01:43] louis |
products:sbc:vim4:npu:demos:yolov7-tiny [2025/01/08 22:22] (current) louis |
||
---|---|---|---|
Line 30: | Line 30: | ||
==== Get the conversion tool ==== | ==== Get the conversion tool ==== | ||
- | Download The conversion tool from [[gl> | + | Download The conversion tool from [[gh> |
- | + | ||
- | ```shell | + | |
- | $ git clone https:// | + | |
- | ``` | + | |
```shell | ```shell | ||
$ git lfs install | $ git lfs install | ||
- | $ git lfs clone https://gitlab.com/ | + | $ git lfs clone https://github.com/ |
$ cd vim4_npu_sdk | $ cd vim4_npu_sdk | ||
$ ls | $ ls | ||
Line 49: | Line 45: | ||
<WRAP important> | <WRAP important> | ||
- | If your kernel is older than 241129, please use version before tag ddk-3.4.7.7. | + | If your kernel is older than 241129, please use branch npu-ddk-1.7.5.5. |
</ | </ | ||
Line 102: | Line 98: | ||
--quantize-dtype int8 --outdir onnx_output | --quantize-dtype int8 --outdir onnx_output | ||
--channel-mean-value " | --channel-mean-value " | ||
+ | --inference-input-type " | ||
+ | --inference-output-type " | ||
--source-file dataset.txt | --source-file dataset.txt | ||
--batch-size 1 --target-platform PRODUCT_PID0XA003 | --batch-size 1 --target-platform PRODUCT_PID0XA003 | ||
Line 122: | Line 120: | ||
``` | ``` | ||
+ | |||
+ | <WRAP important> | ||
+ | If your kernel is older than 241129, please use version before tag ddk-3.4.7.7. | ||
+ | </ | ||
==== Install dependencies ==== | ==== Install dependencies ==== |