• [问题求助] Yolov5推理出错
    按照YOLOv5-昇腾社区 (hiascend.com)在Atlas200DK(昇腾310)上部署推理环境,在执行“4.2 mxBase推理”时,缺少/dev/devmm_svm 和/dev/hisi_hdc:因此将docker启动命令改为如下:docker run -it -u root --device=/dev/davinci0 --device=/dev/davinci_manager --device=/dev/davinci_mdio --device=/dev/hi_davinci -v /usr/local/Ascend/driver:/usr/local/Ascend/driver -v /home:/home ascendhub.huawei.com/public-ascendhub/infer-modelzoo:21.0.2 /bin/bash编译及运行报错如下root@55d7658b6652:/home/HwHiAiUser/Yolov5_for_MindSpore_1.1_code/infer/mxbase# bash build.sh ASCEND_HOME is set to /usr/local/Ascend by userSet ASCEND_VERSION to the default value: nnrt/latestARCH_PATTERN is set to the default value: ./-- The C compiler identification is GNU 7.5.0-- The CXX compiler identification is GNU 7.5.0-- Check for working C compiler: /usr/bin/cc-- Check for working C compiler: /usr/bin/cc -- works-- Detecting C compiler ABI info-- Detecting C compiler ABI info - done-- Detecting C compile features-- Detecting C compile features - done-- Check for working CXX compiler: /usr/bin/c++-- Check for working CXX compiler: /usr/bin/c++ -- works-- Detecting CXX compiler ABI info-- Detecting CXX compiler ABI info - done-- Detecting CXX compile features-- Detecting CXX compile features - doneTARGET_LIBRARY:yolov5postprocessor.-- Configuring done-- Generating done-- Build files have been written to: /home/HwHiAiUser/Yolov5_for_MindSpore_1.1_code/infer/mxbase/buildScanning dependencies of target yolov5postprocessor[ 20%] Building CXX object CMakeFiles/yolov5postprocessor.dir/src/PostProcess/Yolov5MindSporePost.cpp.o[ 40%] Linking CXX shared library libyolov5postprocessor.so[ 40%] Built target yolov5postprocessorScanning dependencies of target yolov5[ 60%] Building CXX object CMakeFiles/yolov5.dir/src/main.cpp.o[ 80%] Building CXX object CMakeFiles/yolov5.dir/src/Yolov5Detection.cpp.o[100%] Linking CXX executable yolov5[100%] Built target yolov5make: *** No rule to make target 'install'. Stop.root@55d7658b6652:/home/HwHiAiUser/Yolov5_for_MindSpore_1.1_code/infer/mxbase# ./build/yolov5 --dir ../../data/iamge/[ERROR] DRV(514,yolov5):2022-12-20-09:15:41.286.882 [devdrv_manager.c:100][devmng] [devdrv_open_device_manager 100] open device manager fail,name=/dev/davinci_manager,ret_fd=-1,old_fd=-1,err=2.[ERROR] DRV(514,yolov5):2022-12-20-09:15:41.287.083 [devdrv_info.c:1098][devmng] [dmanage_get_container_flag 1098] open davinci manager failed.[ERROR] DRV(514,yolov5):2022-12-20-09:15:41.287.148 [devdrv_manager.c:2027][devmng] [drvManagerInit 2027] get container flag failed.[ERROR] DRV(514,yolov5):2022-12-20-09:15:53.288.478 [hdc_core.c:389][hdc] [hdcPcieInit 389] HDC init fail, driver may not load.[ERROR] DRV(514,yolov5):2022-12-20-09:16:03.297.199 [hdc_core.c:374][hdc] [hdc_phandle_get 374] HDC init, open pcie device fail. error : No such file or directory[ERROR] DRV(514,yolov5):2022-12-20-09:16:03.297.608 [devdrv_manager.c:100][devmng] [devdrv_open_device_manager 100] open device manager fail,name=/dev/davinci_manager,ret_fd=-1,old_fd=-1,err=2.[ERROR] DRV(514,yolov5):2022-12-20-09:16:03.297.684 [devdrv_manager.c:439][devmng] [drvGetPlatformInfo 439] open device error.[EVENT] PROFILING(514,yolov5):2022-12-20-09:16:03.367.948 [msprof_callback_impl.cpp:151] >>> (tid:514) Started to register profiling callbacks to acl[ERROR] DRV(514,yolov5):2022-12-20-09:16:03.426.286 [devdrv_manager.c:100][devmng] [devdrv_open_device_manager 100] open device manager fail,name=/dev/davinci_manager,ret_fd=-1,old_fd=-1,err=2.[ERROR] DRV(514,yolov5):2022-12-20-09:16:03.426.434 [devdrv_manager.c:439][devmng] [drvGetPlatformInfo 439] open device error.[ERROR] DRV(514,yolov5):2022-12-20-09:16:03.497.950 [devdrv_manager.c:100][devmng] [devdrv_open_device_manager 100] open device manager fail,name=/dev/davinci_manager,ret_fd=-1,old_fd=-1,err=2.[ERROR] DRV(514,yolov5):2022-12-20-09:16:03.498.109 [devdrv_manager.c:179][devmng] [drvCommonIoctl 179] open device manager failed, fd(-1).[ERROR] DRV(514,yolov5):2022-12-20-09:16:03.498.169 [devdrv_manager.c:700][devmng] [drvGetDevInfo 700] ioctl failed ret = 4.[ERROR] DRV(514,yolov5):2022-12-20-09:16:03.498.226 [devdrv_manager.c:783][devmng] [drvGetSystemInfo 783] drvGetDevInfo failed ret = 4.[ERROR] DRV(514,yolov5):2022-12-20-09:16:03.498.284 [devdrv_manager.c:1138][devmng] [halGetDeviceInfo 1138] halGetDeviceInfo failed ret = 4, moduleType = 0, infoType = 1.[ERROR] RUNTIME(514,yolov5):2022-12-20-09:16:03.498.371 [runtime.cc:626]514 InitSocType:[INIT][DEFAULT]Call halGetDeviceInfo failed: drvRetCode=4, module type=0, info type=1.[ERROR] RUNTIME(514,yolov5):2022-12-20-09:16:03.498.559 [runtime.cc:704]514 Init:[INIT][DEFAULT]Init SocType failed.[ERROR] RUNTIME(514,yolov5):2022-12-20-09:16:03.498.790 [api_c.cc:2330]514 rtGetSocVersion:[INIT][DEFAULT]ErrCode=507000, desc=[null instance pointer], InnerCode=0x70b0001[ERROR] ASCENDCL(514,yolov5):2022-12-20-09:16:03.498.881 [acl.cpp:167]514 InitSocVersion: [INIT][DEFAULT][Get][SocVersion]get soc version failed, runtime result is 507000[ERROR] ASCENDCL(514,yolov5):2022-12-20-09:16:03.498.984 [acl.cpp:100]514 aclInit: [INIT][DEFAULT][Init][Version]init soc version failed, ret = 507000WARNING: Logging before InitGoogleLogging() is written to STDERRE1220 09:16:03.499096 514 DeviceManager.cpp:54] Failed to initialize all devices: Error code unknown.E1220 09:16:03.499197 514 Yolov5Detection.cpp:78] Init devices failed, ret=507000.I1220 09:16:03.499222 514 main.cpp:121] Yolov5DetectionOpencv init failed, ret=507000.[EVENT] IDEDH(514,yolov5):2022-12-20-09:16:03.530.615 [adx_server_manager.cpp:27][tid:514]>>> start to deconstruct adx server manager[ERROR] DRV(514,yolov5):2022-12-20-09:16:03.583.571 [devdrv_manager.c:100][devmng] [devdrv_open_device_manager 100] open device manager fail,name=/dev/davinci_manager,ret_fd=-1,old_fd=-1,err=2.[ERROR] DRV(514,yolov5):2022-12-20-09:16:03.583.744 [devdrv_manager.c:439][devmng] [drvGetPlatformInfo 439] open device error.
  • [问题求助] aclrtMemcpyAsync aclrtSynchronizeStream配合使用时有几率出错
    部分代码如下:报错日志如下:
  • [问题求助] 模型转换报错
    开发环境:根据 开发环境与运行环境合设(推荐)-安装CANN软件-环境部署-1.0.13-Atlas 200 DK开发者套件-文档首页-昇腾社区 (hiascend.com) 在Atlas 200 DK 上部署的开发环境在转换模型时报出这样的错误,查了一下是环境变量设置错误,默认打印出来的环境变量如下图:但是当我通过修改 /home/HwHiAiUser/Ascend/ascend-toolkit/set_env.sh 将环境变量修改为下图所示,依然会报同样的错误
  • [问题求助] 在atlas200dk中安装cann失败,具体情况如下
    在atlas200dk中安装cann失败,具体情况如下升级pip后依然失败请问该如何解决
  • [问题求助] 环境配置了cann但是在200dk里atc还是用不了
    在bashrc里配置了但是在200dk里进行模型转换时atc还是用不了求大佬解答
  • [问题求助] 开发板无法拉取git仓
    想要拉取该博主【CANN训练营】基于CANN 的行人检测和跟踪部署方案(Python)分享,欢迎大家体验,找Bug和提PR-云社区-华为云 (huaweicloud.com)的代码仓,git功能正常,但无法拉取代码仓,出现如上错误。
  • [问题求助] 200DK ROS使用 正常打开turtle节点 但是打不开可视化界面
    按照教程走了ROS安装,安装成功了。想试下turtle测试下,但没有出现可视化界面,实际操作过程中用键盘输入是有响应的。然后查了下说可以rosrun rqt_plot 或者rqt_graph或者rqt_publisher,但是全都报错This plugin does not support propagateSizeHints()请问该怎么解决,想打开可视化界面。
  • [问题求助] 如何在Atlas200DK上运行yolov5s.om
    如题,有没有yolov5s.om模型的测试脚本和教程可以参考呢?
  • [问题求助] 在开发板环境下无法查看图片
    下载了Fim工具和imagemagick工具想要查看图片,均报如上错误,如何在开发板环境下查看训练或者测试图片?
  • [问题求助] 在昇腾200加速模块上,sudo提权命令使用不了
    1、在华为盒子上测试通过的代码,在200加速模块(嵌入式板子上)上测试失败,显示的是sudo的问题。(固件版本:1.0.13、nnrt版本:5.0.4 Python:3.7.5, 都在root下安装的, import acl正常, npu-smi info 正常)
  • [问题求助] onnx模型转换问题
    onnx量化后,模型转换出现如下问题
  • [问题求助] 使用ATC工具转换模型的问题
    我参考samples: CANN Samples - Gitee.com使用ATC工具将yolov4_dynamic_bs.onnx转换为yolov4_bs1.om,并且在Atlas200DK成功运行。但在我使用该工具转换yolov5s.onnx时,出现以下错误:请问这是怎么回事,yolov5s.onnx是使用GitHub - ultralytics/yolov5: YOLOv5 🚀 in PyTorch > ONNX > CoreML > TFLite官方工具从yolov5s.pt转换的,并且测试也没有问题。
  • [问题求助] 报错acl.rt.set_device failed ret_int=507033
    跑sample样例仓发生如上错误
  • [问题求助] 执行代码时无法import所需要的包
    我根据samples仓的指导输入了以上命令,但到最后一行发生了如下错误,无论是用3.6版本或3.7版本都无法import一些包,是当时包没有安装还是环境变量没有设置好呢,但环境变量前面已经设置了啊疑似是此包没有被正确安装?
  • [问题求助] 如何获知 Atlas 200 的硬件版本,用于获取合适的NPU驱动和固件
    我手头有2块 Atlas200DK开发者套件 以及1块 Atlas200AI加速模块,我想知道在下载NPU驱动和固件时,如何获知 Atlas 200 的硬件版本
总条数:261 到第
上滑加载中