Dear all,
I am trying to run the yolov3 NPU demo from this guide on a Khadas VIM3, but the run fails, throwing
(env) khadas@Khadas [10:16:33 AM] [~/workspace_yolo/aml_npu_demo_binaries/detect_demo_picture] [master]
-> % ./detect_demo_x11 -m 2 -p 1080p.bmp
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 Detect_api:[check_and_set_function:177]dlopen libnn_yolo_v3.so failed!
E Detect_api:[det_set_model:218]ModelType so open failed or Not support now!!
det_set_model fail. ret=-1
I ran sudo ./INSTALL
and the *.so
are indeed in /usr/lib/
, i.e.
(env) khadas@Khadas [10:30:01 AM] [~/workspace_yolo]
-> % ls /usr/lib | grep yolo
libnn_yolo_tiny.so
libnn_yolo_v2.so
libnn_yolo_v3.so
libnn_yolo_v4.so
libnn_yoloface.so
I read here that it could come from an old driver, so I updated them by running this: Upgrade System | Khadas Documentation, but the issue persists.
My Galcore version is
-> % sudo dmesg | grep Gal
[ 19.563300] Galcore version 6.4.6.2.5.3.2
and my Amlogic NPU libraries
-> % sudo dpkg -l | grep "aml-npu"
ii aml-npu 6.4.6.2.5.3.2 arm64 Amlogic NPU libraries.
Has anyone encountered this before?
Thank you all and a great end of the week
Arthur