推理yolov5铝材表面检测demo报错
收藏回复举报
推理yolov5铝材表面检测demo报错
t('forum.solved') 已解决
发表于2023-07-04 11:03:04
0 查看

demo链接:ascend_community_projects: MindX边缘开发套件社区代码仓库 - Gitee.com

尝试在RC模式复现铝材表面推理demo的时候遇到如下报错:

CANN一开始是5.1.RC2.alpha005版本也是同样的错误,尝试改变CANN版本为6.0.0.alpha003也无法解决。

错误提示的FileUtils.cpp文件也没找到在哪里。

我的Ubuntu版本为18.04.4,下面要求的CANN版本我在安装的时候提示与驱动不匹配,我的驱动版本为21.04

以下是报错内容,图片发布一直失败,只能复制字符:

E20230704 02:37:31.831123 28152 FileUtils.cpp:391] Check Owner permission failed: Current permission is 7, but required no greater than 6. 

E20230704 02:37:31.831665 28152 MxModelPostProcessorBase.cpp:345] check file failed, check list: regular, exist, size, owner, permission. 

E20230704 02:37:31.831722 28152 MxModelPostProcessorBase.cpp:130] OpenPostProcessLib Failed. 

E20230704 02:37:31.831768 28152 MxModelPostProcessorBase.cpp:174] InitProcess failed 

E20230704 02:37:31.831815 28152 MxImagePostProcessorBase.cpp:40] [1001][General Failed] Fail to Init in MxModelPostProcessorBase. 

E20230704 02:37:31.831887 28152 MxpiObjectPostProcessor.cpp:41] [1001][General Failed] Fail to Init in MxImagePostProcessorBase. 

E20230704 02:37:31.831945 28152 MxGstBase.cpp:624] [mxpi_objectpostprocessor0][1001][General Failed] Plugin initialize failed. 

I20230704 02:37:31.832118 28152 MxGstBase.cpp:813] element(mxpi_dataserialize0) gst_change_state PAUSED_TO_READY. 

I20230704 02:37:31.832182 28152 MxpiDataSerialize.cpp:32] Begin to deinitialize MxpiDataSerialize(mxpi_dataserialize0). 

I20230704 02:37:31.832216 28152 MxpiDataSerialize.cpp:33] End to deinitialize MxpiDataSerialize(mxpi_dataserialize0). 

E20230704 02:37:31.832370 28152 MxsmStream.cpp:768] Failed to set the state of the Stream, named: classification+detection. 

E20230704 02:37:31.832453 28152 MxsmStream.cpp:796] [6003][stream change state fail] Creates classification+detection Stream failed. 

E20230704 02:37:31.832528 28152 MxStreamManagerDptr.cpp:542] [6003][stream change state fail] create stream(classification+detection) failed. 

I20230704 02:37:31.832592 28152 MxsmStream.cpp:926] Begin to destroy stream(classification+detection). 

I20230704 02:37:31.832726 28152 MxsmStream.cpp:945] Send custom eos to the Stream successfully. 

I20230704 02:37:31.832818 28152 MxsmStream.cpp:951] Send eos to the Stream successfully. 

W20230704 02:37:31.832908 28152 MxsmStream.cpp:959] Failed to flush the Stream data. 

I20230704 02:37:31.833163 28152 MxGstBase.cpp:822] element(mxpi_dataserialize0) gst_change_state READY_TO_NULL. 

I20230704 02:37:31.833248 28152 MxGstBase.cpp:822] element(mxpi_objectpostprocessor0) gst_change_state READY_TO_NULL. 

I20230704 02:37:31.833319 28152 MxGstBase.cpp:822] element(mxpi_tensorinfer0) gst_change_state READY_TO_NULL. 

I20230704 02:37:31.833403 28152 MxGstBase.cpp:822] element(mxpi_imageresize0) gst_change_state READY_TO_NULL. 

I20230704 02:37:31.833475 28152 MxGstBase.cpp:822] element(mxpi_imagedecoder0) gst_change_state READY_TO_NULL. 

I20230704 02:37:31.834349 28152 MxsmStream.cpp:917] Destroys the stream(classification+detection) successfully. 

Failed to create Stream, ret=6003 

I20230704 02:37:31.887223 28152 MxStreamManager.cpp:72] Begin to destroy management threads. 

本帖最后由 匿名用户2023/07/04 16:05:44 编辑

我要发帖子