|
toybrick@debian10:~/yolov3_demo$ python3 rknn_picture_tiny.py
-->loading model
loading model done
--> Init runtime environment
I NPUTransfer: Starting NPU Transfer Client, Transfer version 1.9.8 (40e4a8a@2020-01-02T09:16:20)
D RKNNAPI: ==============================================
D RKNNAPI: RKNN VERSION:
D RKNNAPI: API: 1.3.2 (9eebd73 build: 2020-04-02 15:30:36)
D RKNNAPI: DRV: 1.3.0 (c4f8c23 build: 2019-11-25 10:39:29)
D RKNNAPI: ==============================================
done
E RKNNAPI: rknn_input_set, inputs[0].buf wrong, buf = 0x23281160, size = 519168 (min_size = 1108992)!
E Catch exception when setting inputs.
E Traceback (most recent call last):
E File "rknn/api/rknn_base.py", line 1162, in rknn.api.rknn_base.RKNNBase.inference
E File "rknn/api/rknn_base.py", line 1077, in rknn.api.rknn_base.RKNNBase.set_inputs
E File "rknn/api/rknn_runtime.py", line 468, in rknn.api.rknn_runtime.RKNNRuntime.set_inputs
E Exception: Set inputs failed. error code: RKNN_ERR_PARAM_INVALID
Traceback (most recent call last):
File "rknn_picture_tiny.py", line 224, in <module>
out_boxes, out_boxes2 = rknn.inference(inputs=[mat])
TypeError: cannot unpack non-iterable NoneType object
哪位同仁成功尝试了其他版本的yolov4模型的推理吗?
|
|