Firefly开源社区

标题: c++ api运行一段时间后,rknn_output_get 失败 [打印本页]

作者: brookicv    时间: 2021-4-26 19:04
标题: c++ api运行一段时间后,rknn_output_get 失败
在设备进行循环推理,开始一段时间执行正常。 但是运行一段时间后,rknn_output_get  获取输出失败。 返回值为 RKNN_ERR_DEVICE_UNAVAILABLE (-3).  
具体错误log如下:
E RKNNAPI: __pthread_recv_msg,  recv(MsgHeader) fail, -9(ERROR_PIPE) < 108!
E RKNNAPI: rknn_outputs_get,  p_ctx->queue_output.size() = 0!
rknn get outputs failed, ret = -3

从开始运行,到出问题,推理进程内存使用情况:
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 111972K    writeable/private: 39372K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K
mapped: 112864K    writeable/private: 40264K    shared: 0K




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1