lenLRX / Atlas_ACL_E2E_Demo

188 stars 38 forks source link

yolov4_1_3_416_416_aipp.om,无法运行 #10

Closed Leon16226 closed 3 years ago

Leon16226 commented 3 years ago

参考教程https://zhuanlan.zhihu.com/p/384506398后, 得到二进制文件https://zhuanlan.zhihu.com/p/384506398, 运行代码: ./run.sh config/yolov4_demo.json

total dev count: 1 [FFMPEGInput::Init] test.mp4 codec name:h264 avcc profile: 100 frame h: 720 frame w: 1280 ticks_per_frame: 2 framerate.num: 30 framerate.den: 1 ref frame num: 1 has B frame: 0 pix format: 0 codec_tag 828601953 extra_data size: 46 [DvppDecoder::Init] h: 720 w:1280output_size: 1382400 /home/HwHiAiUser/deepsort/src/acl_model.cpp:13 aclError:145000 /home/HwHiAiUser/deepsort/src/acl_model.cpp:14 aclError:100000 /home/HwHiAiUser/deepsort/src/acl_model.cpp:15 aclError:100000 ./run.sh: line 5: 6097 Segmentation fault ./build/acl_demo_app -c $1

lenLRX commented 3 years ago

看上去是om加载失败,检查一下om是否在路径下并且有没有权限?

Leon16226 commented 3 years ago

进行了如下检查:

  1. yolov4_1_3_416_416_aipp.om存在路径下
  2. 用su root权限运行同样报上面的错
  3. 测试yolov3是否可行 运行代码 ./run.sh config/yolov3_demo.json 正常运行
lenLRX commented 3 years ago

还有两个可能

Leon16226 commented 3 years ago

没有继续跟进,先关闭了