Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim4:npu:demos:yolov8n

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:sbc:vim4:npu:demos:yolov8n [2024/12/03 02:02]
louis
products:sbc:vim4:npu:demos:yolov8n [2025/01/08 22:22] (current)
louis
Line 30: Line 30:
 ==== Get Model Conversion Tools ==== ==== Get Model Conversion Tools ====
  
-Get source [[gl>khadas/vim4_npu_sdk]]. +Get source [[gh>khadas/vim4_npu_sdk]].
- +
-```shell +
-$ git clone https://gitlab.com/khadas/vim4_npu_sdk +
-```+
  
 ```shell ```shell
 $ git lfs install $ git lfs install
-$ git lfs clone https://gitlab.com/khadas/vim4_npu_sdk.git+$ git lfs clone https://github.com/khadas/vim4_npu_sdk
 $ 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.
 </WRAP> </WRAP>
  
Line 81: Line 77:
 +            cls = self.cv3[i](x[i]).contiguous() +            cls = self.cv3[i](x[i]).contiguous()
 +            results.append(torch.cat([cls, dfl], 1)) +            results.append(torch.cat([cls, dfl], 1))
-+            # results.append(torch.cat([cls, dfl], 1)) 
 +        return tuple(results) +        return tuple(results)
 + +
Last modified: 2024/12/03 02:02 by louis