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:56] louis |
products:sbc:vim4:npu:demos:yolov7-tiny [2025/06/12 05:39] (current) louis |
||
|---|---|---|---|
| Line 6: | Line 6: | ||
| {{indexmenu_n> | {{indexmenu_n> | ||
| + | |||
| + | ===== Introduction ===== | ||
| + | |||
| + | YOLOv7-Tiny is an object detection model. It uses bounding boxes to precisely draw each object in image. | ||
| + | |||
| + | Inference results on VIM4. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | **Inference speed test**: USB camera about **126ms** per frame. | ||
| ===== Train the model ===== | ===== Train the model ===== | ||
| Line 30: | Line 40: | ||
| ==== 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 55: | ||
| <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 124: | Line 130: | ||
| ``` | ``` | ||
| + | |||
| + | <WRAP important> | ||
| + | If your kernel is older than 241129, please use version before tag ddk-3.4.7.7. | ||
| + | </ | ||
| ==== Install dependencies ==== | ==== Install dependencies ==== | ||
| Line 149: | Line 159: | ||
| $ ./ | $ ./ | ||
| ``` | ``` | ||
| - | |||
| - | {{: | ||
| === Camera input demo === | === Camera input demo === | ||
| Line 165: | Line 173: | ||
| # Run | # Run | ||
| - | $ ./ | + | $ ./ |
| ``` | ``` | ||