Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim3:npu:ksnn:ksnn-convert

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-convert [2022/09/17 02:46]
frank created
products:sbc:vim3:npu:ksnn:ksnn-convert [2023/09/16 07:20]
sravan [Conversion example]
Line 1: Line 1:
 ====== Instructions for KSNN conversion tool ====== ====== Instructions for KSNN conversion tool ======
  
-===== Introduction =====+Introduction and guide on how to use the KSNN conversion tool.
  
-This document will introduce how to use the KSNN conversion tool.+===== Get the conversion tool =====
  
-===== Get convert tool ===== +The conversion tool is integrated in the NPU SDK.
- +
-The tool is integrated in the NPU conversion tool warehouse of VIM3.+
  
 ```shell ```shell
Line 19: Line 17:
 ``` ```
  
-===== Example for Convert =====+===== Conversion example =====
  
-Choose tensorflow Inception V3 as a exmple.+Choose tensorflow Inception V3 as an example.
  
-1. Get forzen model,+1. Get the frozen model,
  
 ```shell ```shell
 $ cd aml_npu_sdk/acuity-toolkit/python $ cd aml_npu_sdk/acuity-toolkit/python
-$ wget https://github.com/yan-wyb/models-zoo/raw/master/tensonrflow/inception/inception_v3_2016_08_28_frozen.pb+$ wget https://github.com/yan-wyb/models-zoo/raw/master/tensorflow/inception/inception_v3_2016_08_28_frozen.pb
 ``` ```
  
Line 47: Line 45:
 During conversion, if you need to view detailed information, you can modify ''--print-level 0'' to ''--print-level 1''. During conversion, if you need to view detailed information, you can modify ''--print-level 0'' to ''--print-level 1''.
  
-3. File generated after conversion.+3. Model file generated after conversion.
  
 ```shell ```shell
Last modified: 2024/05/27 22:15 by louis