Unable to run yolo demo

Which Khadas SBC do you use?

VIM3

Which system do you use? Android, Ubuntu, OOWOW or others?

UBUNTU

Which version of system do you use? Khadas official images, self built images, or others?

OFFICIAL

Please describe your issue below:

Dynamic camera recognition demo not working

Post a console log of your issue below:

khadas@Khadas:~/aml_npu_demo_binaries/detect_demo$ ./detect_demo_x11_usb -d /dev/video0 -m 2
W Detect_api:[det_set_log_level:19]Set log level=1
W Detect_api:[det_set_log_level:21]output_format not support Imperfect, default to DET_LOG_TERMINAL
W Detect_api:[det_set_log_level:26]Not exist VSI_NN_LOG_LEVEL, Setenv set_vsi_log_error_level
det_set_log_config Debug
E [vnn_CreateYolov3:168]Open file nn_data/yolov3_88.nb failed.
E [model_create:61]CHECK PTR 61
E Detect_api:[det_set_model:225]Model_create fail, file_path=nn_data, dev_type=1
det_set_model fail. ret=-4

@rahul_s
Did you follow this doc to test ?

Yes Frank. WHy is it saying create graph failed ?

@rahul_s What I have encountered before is that there is no parameter added

$ git clone --recursive https://github.com/khadas/aml_npu_demo_binaries

I had test it last week. It should be right. Did you upgrade you system to least OTA version ?

New issue, now its stuck at :

./detect_demo_x11_usb -d /dev/video0 -m 2
W Detect_api:[det_set_log_level:19]Set log level=1
W Detect_api:[det_set_log_level:21]output_format not support Imperfect, default to DET_LOG_TERMINAL
W Detect_api:[det_set_log_level:26]Not exist VSI_NN_LOG_LEVEL, Setenv set_vsi_log_error_level
det_set_log_config Debug
det_set_model success!!

model.width:416
model.height:416
model.channel:3

^C

Nothing happens even after 5 minutes waiting. Changed to -m1, -m3, -m4…still doesnt work at all

@rahul_s Which one firmware you used ?

Kernel = 4.9.241
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.4 LTS"

@rahul_s Please provide a specific link to the firmware, or a timestamp.

Most likely this one https://dl.khadas.com/firmware/VIM3/Ubuntu/EMMC/VIM3_Ubuntu-gnome-focal_Linux-4.9_arm64_EMMC_V1.0.10-220108.img.xz

@rahul_s Do you use a use camera ? maybe the usb mode is /dev/video1 ? Do you check it ?