Vim3L run demo get wrong result

i use prebuilt bin int aml_npu_sdk_6.4.0.10/linux_sdk/demo/inceptionv3/bin_demo/VIM3L
,but get wrong result.

this is the log.

khadas@Khadas:~/test$ ./inceptionv3 inception_v3.nb goldfish_299x299.jpg
D [setup_node:368]Setup node id[0] uid[4294967295] op[NBG]
D [print_tensor:136]in(0) : id[ 1] vtl[0] const[0] shape[ 3, 299, 299, 1 ] fmt[u8 ] qnt[ASM zp=137, scale=0.007292]
D [print_tensor:136]out(0): id[ 0] vtl[0] const[0] shape[ 1001, 1 ] fmt[f16] qnt[NONE]
D [optimize_node:312]Backward optimize neural network
D [optimize_node:319]Forward optimize neural network
I [compute_node:261]Create vx node
Create Neural Network: 143ms or 143645us
I [vsi_nn_PrintGraph:1421]Graph:
I [vsi_nn_PrintGraph:1422]***************** Tensors ******************
D [print_tensor:146]id[ 0] vtl[0] const[0] shape[ 1001, 1 ] fmt[f16] qnt[NONE]
D [print_tensor:146]id[ 1] vtl[0] const[0] shape[ 3, 299, 299, 1 ] fmt[u8 ] qnt[ASM zp=137, scale=0.007292]
I [vsi_nn_PrintGraph:1431]***************** Nodes ******************
I vsi_nn_PrintNode:159node[0] [in: 1 ], [out: 0 ] [20e95c50]
I [vsi_nn_PrintGraph:1440]******************************************
I [vsi_nn_ConvertTensorToData:750]Create 268203 data.
Verify…
Verify Graph: 8ms or 8661us
Start run graph [1] times…
Run the 1 time: 44414ms or 44414527us
vxProcessGraph execution time:
Total 44414ms or 44414583us
Average 44414.59ms or 44414584.00us
I [vsi_nn_ConvertTensorToData:750]Create 2002 data.
— Top5 —
-1: 0.000000
-1: 0.000000
-1: 0.000000
-1: 0.000000
-1: 0.000000
I [vsi_nn_ConvertTensorToData:750]Create 2002 data.

Maybe this is out of date.

Can you try this ?

4 Likes

thx,it worked :smile:

3 Likes