Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim3:npu:ksnn:ksnn-usage

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
products:sbc:vim3:npu:ksnn:ksnn-usage [2022/09/17 02:32]
frank created
products:sbc:vim3:npu:ksnn:ksnn-usage [2023/09/10 05:36]
hyphop
Line 1: Line 1:
 +~~tag> VIM3 VIM3L NPU Python API KSNN  ~~
 +
 +
 ====== KSNN Usage ====== ====== KSNN Usage ======
  
-===== Introduction =====+This article shows VIM3 NPU usage examples through **KSSN** - Python API.
  
-This article mainly introduces how to call NPU through Python API in VIM3/VIM3L.+<WRAP help > 
 +**KSSN** is [[https://github.com/khadas/ksnn#readme|Khadas Software Neural Network]] 
 +</WRAP>
  
 ===== Install KSNN ===== ===== Install KSNN =====
  
-1. Clone code to local.+Get code: [[gh>khadas/ksnn]]
  
 ```shell ```shell
Line 13: Line 18:
 ``` ```
  
-2. Installation dependencies.+Installation dependencies:
  
 ```shell ```shell
Line 19: Line 24:
 ``` ```
  
-3. Install KSNN library.+Install KSNN library:
  
 ```shell ```shell
Line 26: Line 31:
 ``` ```
  
-===== Example of use =====+===== Usage example =====
  
-Demos are all concentrated in the examlpes directory,+All Demo examples in the ''examples'' directory are sorted by folders.
  
 ```shell ```shell
Line 35: Line 40:
 ``` ```
  
-Take Inception V3 as an example, other demos are similar.+Choose ''tensorflow'' and ''inceptionv3.py'' for example, other demos are similar.
  
 ```shell ```shell
-$ cd tensorflow && ls +$ cd tensorflow && ls -1 
-README.md  box_priors.txt  data  inceptionv3.py  libs  mobilenet_ssd_picture.py  models+data   
 +libs 
 +models 
 +README.md   
 +box_priors.txt 
 +inceptionv3.py 
 +mobilenet_ssd_picture.py
 ``` ```
  
-The running commands and conversion parameters are in the ''README'' file in the corresponding directory.+The running commands and conversion parameters are in the ''README.md'' file in the same directory.
  
 ```shell ```shell
Last modified: 2024/05/27 22:15 by louis