Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim4:npu:demos:vgg16

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
products:sbc:vim4:npu:demos:vgg16 [2024/01/04 05:01]
louis
products:sbc:vim4:npu:demos:vgg16 [2024/01/04 21:24] (current)
louis old revision restored (2023/09/20 01:13)
Line 69: Line 69:
         --outputs dense_2/Softmax \         --outputs dense_2/Softmax \
         --inference-input-type float32 \         --inference-input-type float32 \
- --inference-output-type float32 \+ --inference-output-type float32 \
         --quantize-dtype int8 --outdir tensorflow_output \         --quantize-dtype int8 --outdir tensorflow_output \
         --channel-mean-value "0,0,0,255" \         --channel-mean-value "0,0,0,255" \
Line 77: Line 77:
         --target-platform PRODUCT_PID0XA003         --target-platform PRODUCT_PID0XA003
 ``` ```
- 
-<WRAP important > 
-Please prepare about 500 pictures for quantification. If the pictures size is smaller than model input size, please resize pictures to input size before quantification. 
-</WRAP> 
  
 Run ''convert_adla.sh'' to generate the VIM4 model. The converted model is ''xxx.adla'' in ''tensorflow_output''. Run ''convert_adla.sh'' to generate the VIM4 model. The converted model is ''xxx.adla'' in ''tensorflow_output''.
Line 97: Line 93:
 $ git clone https://github.com/khadas/vim4_npu_applications $ git clone https://github.com/khadas/vim4_npu_applications
 ``` ```
- 
-<WRAP important > 
-If your kernel version is 5.4 or earlier, please use tag ''ddk-1.7.5.5''. Tag ''ddk-2.3.6.7'' is for 5.15. 
-</WRAP> 
  
 ==== Install dependencies ==== ==== Install dependencies ====
Last modified: 2024/01/04 05:01 by louis