Firefly开源社区

标题: 运行模型转换demo出现的问题 [打印本页]

作者: lozenyin    时间: 2022-4-26 11:26
标题: 运行模型转换demo出现的问题
本人在3588中编译了rknpu2/examples/rknn_yolov5_demo的demo程序

  1. linaro@linaro-alip:~/locke/rk3588_npu/rknpu2/examples/rknn_yolov5_demo/build/build_linux_aarch64$ sudo ./rknn_yolov5_demo yolov5s-640-640.rknn bus.jpg
  2. post process config: box_conf_threshold = 0.50, nms_threshold = 0.60
  3. Read bus.jpg ...
  4. img width = 640, img height = 640
  5. Loading mode...
  6. sdk version: 1.2.0 (1867aec5b@2022-01-14T15:16:40) driver version: 0.6.4
  7. model input num: 1, output num: 3
  8.   index=0, name=images, n_dims=4, dims=[1, 640, 640, 3], n_elems=1228800, size=4915200, fmt=NHWC, type=FP32, qnt_type=AFFINE, zp=-128, scale=0.003922
  9.   index=0, name=output, n_dims=5, dims=[1, 3, 85, 80], n_elems=1632000, size=1632000, fmt=NCHW, type=INT8, qnt_type=AFFINE, zp=77, scale=0.080445
  10.   index=1, name=371, n_dims=5, dims=[1, 3, 85, 40], n_elems=408000, size=408000, fmt=NCHW, type=INT8, qnt_type=AFFINE, zp=56, scale=0.080794
  11.   index=2, name=390, n_dims=5, dims=[1, 3, 85, 20], n_elems=102000, size=102000, fmt=NCHW, type=INT8, qnt_type=AFFINE, zp=69, scale=0.081305
  12. model is NHWC input fmt
  13. model input height=640, width=640, channel=3
  14. rga_api version 1.7.0_[1]
  15. 262, check error! Unsupported function: Unsupported src to input resolution more than -1, width = 640, height = 640
复制代码

输入模型文件与图片后,运行报错:rga错误。是否有人遇到过这种情况?如何排查处理?











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