|
加载rknn模型后,不断的喂数据,推理,取结果。过一段时间就会报错,已经碰到很多次了。
本次报错内容如下:
[2020-08-11 07:40:49.665][faceSnapshot][INFO ] trackAndMatch 耗时: 0.194000ms
[2020-08-11 07:40:49.665][faceSnapshot][INFO ] trackAndMatch 耗时: 0.179000ms
[2020-08-11 07:40:49.942][faceSnapshot][INFO ] trackAndMatch 耗时: 0.194000ms
[2020-08-11 07:40:49.943][faceSnapshot][INFO ] trackAndMatch 耗时: 0.176000ms
[2020-08-11 07:40:50.457][faceSnapshot][INFO ] trackAndMatch 耗时: 0.108000ms
[2020-08-11 07:40:50.457][faceSnapshot][INFO ] trackAndMatch 耗时: 0.096000ms
[2020-08-11 07:40:50.639][faceSnapshot][INFO ] trackAndMatch 耗时: 0.201000ms
[2020-08-11 07:40:50.639][faceSnapshot][INFO ] trackAndMatch 耗时: 0.224000ms
[2020-08-11 07:40:50.971][faceSnapshot][INFO ] trackAndMatch 耗时: 0.196000ms
[2020-08-11 07:40:50.971][faceSnapshot][INFO ] trackAndMatch 耗时: 0.230000ms
E RKNNAPI: __pthread_recv_msg, recv(MsgHeader) fail, -9(ERROR_PIPE) < 108!
E RKNNAPI: rknn_outputs_get, p_ctx->queue_output.size() = 0!
[2020-08-11 07:40:51.633][faceSnapshot][ERROR] rknn_outputs_get失败,错误代码[-3]
E NPUTransfer: Please open transfer first!
W RKNNAPI: rknn_destroy, send(MsgUnload) fail, -4(ERROR_NO_DEVICE) != 108!
E NPUTransfer: Transfer interface open failed!, ret = -1
E RKNNAPI: rknn_init, driver open fail! ret = -1(ERROR_IO)!
[2020-08-11 07:40:51.674][faceSnapshot][ERROR] rknn初始化失败,错误代码[-3]
[2020-08-11 07:40:51.674][faceSnapshot][ERROR] 重新加载模型[model/face.rknn]失败,程序退出
调试串口打印信息如下:
debian10 login:
debian10 login:
debian10 login: [261972.753716] rk_vcodec: vpu_service_ioctl:1890: error: unknown vpu service ioctl cmd 40086c01
[264167.563719] rk_vcodec: vpu_service_ioctl:1890: error: unknown vpu service ioctl cmd 40086c01
[290346.959753] rk-vcodec ff660000.rkvdec: resetting...
[290346.960377] rk-vcodec ff660000.rkvdec: reset done
[290346.960901] rk-vcodec ff660000.rkvdec: reset done
[314275.176574] usb 2-1.1: USB disconnect, device number 3
[314276.369375] usb 2-1.1: new SuperSpeed USB device number 4 using xhci-hcd
[314276.381521] usb 2-1.1: New USB device found, idVendor=2207, idProduct=0019
[314276.382205] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[314276.382882] usb 2-1.1: Product: rk3xxx
[314276.383357] usb 2-1.1: Manufacturer: rockchip
[314276.383778] usb 2-1.1: SerialNumber: 8321186abce84ab5
本次错误,过一段时间后,重新跑程序,可以正常跑起来,看起来像是npu设备重新挂载了,什么条件下会发生这种情况?
|
|