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?
Khadas official image
Please describe your issue below:
We are not able to run the npu-app by following the guide (we remove the OpenCV window calls. We also tried the compiled aml_npu_demo_binaries and used the FB version. We also used the demos to create our own C application and it has the exact same error. Note that we are successfully running the system with a Python application with no real issues other than performance. We would keep using the Python application if it would produce “boxes” faster than 6 FPS. It does inference at 20 to 25 FPS, but the post-processing kills it. The goal was to run it in C++ and see if it would process at a faster framerate.
As you can see below, It finds the model, but it won’t load it. I use the same model for our Python app with no issues.
Post a console log of your issue below:
W Detect_api:[det_set_log_level:19]Set log level=4
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
D Detect_api:[det_set_log_config:360]Leave, level:4
det_set_log_config Debug
D Detect_api:[det_set_model:205]Enter, modeltype:13
D Detect_api:[check_and_set_function:164]Enter, dlopen so:libnn_yolo_v7_tiny.so
D Detect_api:[check_and_set_function:199]Leave, dlopen so:libnn_yolo_v7_tiny.so, ret=0
I Detect_api:[det_set_model:223]Start create Model, data_file_path=nn_data
E [model_create:64]CHECK STATUS(-1:A generic error code, used when no other describes the error.)
E Detect_api:[det_set_model:226]Model_create fail, file_path=nn_data, dev_type=1
D Detect_api:[det_set_model:241]Leave, modeltype:13