|
--> Loading model
done
--> config model
done
--> Building model
W The target_platform is not set in config, using default target platform rk1808.
W The channel_mean_value filed will not be used in the future!
/home/byhang/rknn/lib/python3.5/site-packages/rknn/api/rknn.py:249: RuntimeWarning: invalid value encountered in true_divide
ret = self.rknn_base.build(do_quantization=do_quantization, dataset=dataset, pack_vdata=pre_compile, batch_size=rknn_batch_size)
done
--> Export RKNN model
done
--> Init runtime environment
E [vnn_CreateRKNN:5109]load_json:Error before: Infinity, "zero_point": 0, "qnt_type": "RKNN_QNT_TYPE_AFFINE_ASYMMETRIC", "vx_type": "RKNN_TYPE_INT32"}, "offset": 64052200, "len": 512}, {"tensor_id": 58, "size": [3, 3, 128, 128], "dim_num": 4, "dtype": {"scale": 0.005261368, "zero_point": 141, "qnt_type": "RKNN_QNT_TYPE_AFFINE_ASYMMETRIC", "vx_type": "RKNN_TYPE_UINT8"}, "offset": 1504, "len": 147456}, {"tensor_id": 59, "size": [128], "dim_num": 1, "dtype": {"scale": Infinity, "zero_point": 0, "qnt_type": "RKNN_QNT_TYPE_AFFINE_ASYMMETRIC", "vx_type": "RKNN_TYPE_INT32"}, "offset": 992, "len": 512}, {"tensor_id": 60, "size": [1, 1, 128, 128], "dim_num": 4, "dtype": {"scale": 4.818612099, "zero_point": 244, "qnt_type": "RKNN_QNT_TYPE_AFFINE_ASYMMETRIC", "vx_type": "RKNN_TYPE_UINT8"}, "offset": 149472, "len": 16384}, {"tensor_id": 61, "size": [128], "dim_num": 1, "dtype": {"scale": Infinity, "zero_point": 0, "qnt_type": "RKNN_QNT_TYPE_AFFINE_ASYMMETRIC", "vx_type": "RKNN_TYPE_INT32"}, "offset":
Create RKNN model fail!
E Catch exception when init runtime!
E Traceback (most recent call last):
E File "rknn/api/rknn_base.py", line 1154, in rknn.api.rknn_base.RKNNBase.init_runtime
E File "rknn/api/rknn_runtime.py", line 356, in rknn.api.rknn_runtime.RKNNRuntime.build_graph
E Exception: RKNN init failed. error code: RKNN_ERR_MODEL_INVALID
Init runtime environment failed
大佬大佬,我自己训练的darknet模型,量化时有warning,有rknn模型输出,但Init runtime environment failed,错误信息是从库里报出的,我跟不到,现在无从下手,求救啊!!!
模型文件61.3MB
链接: https://pan.baidu.com/s/150SlWi2smWB96djuILw2kg 提取码: ydws 复制这段内容后打开百度网盘手机App,操作更方便哦
|
|