ret = rknn.load_rknn(RKNN_MODEL_PATH) if ret != 0: print('load rknn model failed.') exit(ret) print('done') print('--> init runtime') ret = rknn.init_runtime() ret = rknn.init_runtime() if ret != 0: print('init runtime failed.') exit(ret) print('done') img = cv2...
rknn_init fail! ret=-6作者: zhangzj 时间: 2019-5-21 15:10 重新更新一下rknn-apisudo dnf clean all sudo dnf update -y版本确认: [toybrick@localhost ~]$ rpm -aq rknn-api npuservice npuservice-1.0.3-1.rockchip.fc28.aarch64 rknn-api-0.9.5-2.rockchip.fc28.aarch64 ...
pip3 install numpy==1.16.6 再次尝试用python导入rknn,应该就可以了。如果 在与PC相关的AIO-3568J...
And added target platform to the init_runtime: ret = rknn.init_runtime(target='rv1126', device_id='179e8563de15b86a') I get the following error when I run the test.py: E Catch exception when init runtime! E Traceback (most recent call last): E File "rknn/api/rknn_base.py", ...
int ret; int model_len = 0; unsigned char *model; printf("Loading model ...\n"); model = load_model(g_ssd_path, &model_len); ret = rknn_init(&ctx, model, model_len, 0); if (ret < 0) { printf("rknn_init fail! ret=%d\n", ret); ...
rknn_context ctx;intret;intmodel_len =0;unsignedchar*model;printf("Loading model ...\n"); model =load_model(g_ssd_path, &model_len); ret =rknn_init(&ctx, model, model_len,0);if(ret <0) {printf("rknn_init fail! ret=%d\n", ret);returnNULL; ...
(ret < 0) { printf("rknn_init fail! ret=%d\n", ret); } // Get Model Input Ouput Info rknn_input_output_num io_num; ret = rknn_query(ctx, RKNN_QUERY_IN_OUT_NUM, &io_num, sizeof(io_num)); if (ret != RKNN_SUCC) { printf("rknn_query fail! ret=%d\n", ret); return...
void * Thread_V4l2_Grab_Mjpeg(void *arg){ pic_data pic_temp;while(1){ int type = V4L2_BUF...
I tried to init the runtime with my generated rknn model locally on the simulator, and I get the same error: librknn_runtime version 1.7.0 (9ad5c07 build: 2021-08-06 15:20:31 base: 1131) E [compute_node:354]Create node[0] NBG fail Create rknn graph fail! Create RKNN model fai...
EERKNNAPI:rknn_init,driveropenfail!ret=-9!ECatchexceptionwheninitruntime!TFile"rknn/api/rknn_base.py",line617,inTFile"rknn/api/rknn_runtime.py",line378,inrknn.api.rknn_runtime.RKNNRuntime.build_graphTException:RKNNinitfailed.errorcode:RKNN_ERR_DEVICE_UNAVAILABLERKNNNPUadbdevices能看到设备,...