铭戢

铭戢

0个粉丝

3

问答

0

专栏

0

资料

铭戢  发布于  2024-03-14 17:28:03
采纳率 0%
3个问答
858

3516DV500 使用atc转换模型后运行失败

使用atc工具转换sample中的yolov5 onnx模型,转换为om模型。再通过sample_svp_npu_main 8 5测试,运行出错,log如下所示:[level]:Info,[func]:sample_common_svp_check_sys_init [line]:104 [info]:Svp mpi init ok!
[level]:Info,[func]:sample_svp_npu_acl_init [line]:166 [info]:svp acl init success!
[level]:Info,[func]:sample_svp_npu_acl_init [line]:175 [info]:open device 0 success!
[level]:Info,[func]:sample_svp_npu_acl_init [line]:185 [info]:get run mode success!
[level]:Info,[func]:sample_svp_npu_create_desc [line]:274 [info]:create model description success!
[level]:Info,[func]:sample_common_svp_npu_load_model [line]:307 [info]:load mem_size:8358441, id:32!
[level]:Info,[func]:sample_common_svp_npu_load_model [line]:311 [info]:load model ./data/model/yolov5_original.om success!
bus_id = 5
ssssss
linear mode
===IMX347 Slave 4M 30fps 12bit LINE Init OK!===
ISP Dev 0 running !
———————-press Enter key to exit!———————-
[Func]:svp_npu_model_check_data_buffer_node [Line]:1323 [Info]:Error, 0-th data_buffer->size(614400) can’t be less than 1228800
[Func]:svp_npu_model_check_input_dataset [Line]:1420 [Info]:Error, 0-th input data buffer check failed
[Func]:svp_npu_model_check_inout_dataset [Line]:1496 [Info]:Error, check input dataset failed
[Func]:svp_npu_model_check_execute_param [Line]:1550 [Info]:Error, check in/out dataset failed
[Func]:svp_npu_model_execute [Line]:928 [Info]:Error, check model execute param failed
[level]:Error,[func]:sample_common_svp_npu_model_execute [line]:1112 [info]:svp_acl_mdl_execute failed, model_id is 32, error code is 100000!

[level]:Error,[func]:sample_svp_npu_acl_frame_proc [line]:467 [info]:model execute failed!

[level]:Error,[func]:sample_svp_npu_acl_vdec_to_vo [line]:537 [info]:Error(0xffffffff),sample_svp_npu_acl_frame_proc failed!

[Func]:svp_npu_model_check_data_buffer_node [Line]:1323 [Info]:Error, 0-th data_buffer->size(614400) can’t be less than 1228800
[Func]:svp_npu_model_check_input_dataset [Line]:1420 [Info]:Error, 0-th input data buffer check failed
[Func]:svp_npu_model_check_inout_dataset [Line]:1496 [Info]:Error, check input dataset failed
[Func]:svp_npu_model_check_execute_param [Line]:1550 [Info]:Error, check in/out dataset failed
[Func]:svp_npu_model_execute [Line]:928 [Info]:Error, check model execute param failed
[level]:Error,[func]:sample_common_svp_npu_model_execute [line]:1112 [info]:svp_acl_mdl_execute failed, model_id is 32, error code is 100000!

[level]:Error,[func]:sample_svp_npu_acl_frame_proc [line]:467 [info]:model execute failed!

[level]:Error,[func]:sample_svp_npu_acl_vdec_to_vo [line]:537 [info]:Error(0xffffffff),sample_svp_npu_acl_frame_proc failed!

[Func]:svp_npu_model_check_data_buffer_node [Line]:1323 [Info]:Error, 0-th data_buffer->size(614400) can’t be less than 1228800
[Func]:svp_npu_model_check_input_dataset [Line]:1420 [Info]:Error, 0-th input data buffer check failed
[Func]:svp_npu_model_check_inout_dataset [Line]:1496 [Info]:Error, check input dataset failed
[Func]:svp_npu_model_check_execute_param [Line]:1550 [Info]:Error, check in/out dataset failed
[Func]:svp_npu_model_execute [Line]:928 [Info]:Error, check model execute param failed
[level]:Error,[func]:sample_common_svp_npu_model_execute [line]:1112 [info]:svp_acl_mdl_execute failed, model_id is 32, error code is 100000!

[level]:Error,[func]:sample_svp_npu_acl_frame_proc [line]:467 [info]:model execute failed!

[level]:Error,[func]:sample_svp_npu_acl_vdec_to_vo [line]:537 [info]:Error(0xffffffff),sample_svp_npu_acl_frame_proc failed!

[Func]:svp_npu_model_check_data_buffer_node [Line]:1323 [Info]:Error, 0-th data_buffer->size(614400) can’t be less than 1228800
[Func]:svp_npu_model_check_input_dataset [Line]:1420 [Info]:Error, 0-th input data buffer check failed
[Func]:svp_npu_model_check_inout_dataset [Line]:1496 [Info]:Error, check input dataset failed
[Func]:svp_npu_model_check_execute_param [Line]:1550 [Info]:Error, check in/out dataset failed
[Func]:svp_npu_model_execute [Line]:928 [Info]:Error, check model execute param failed
[level]:Error,[func]:sample_common_svp_npu_model_execute [line]:1112 [info]:svp_acl_mdl_execute failed, model_id is 32, error code is 100000!

[level]:Error,[func]:sample_svp_npu_acl_frame_proc [line]:467 [info]:model execute failed!

[level]:Error,[func]:sample_svp_npu_acl_vdec_to_vo [line]:537 [info]:Error(0xffffffff),sample_svp_npu_acl_frame_proc failed!

[Func]:svp_npu_model_check_data_buffer_node [Line]:1323 [Info]:Error, 0-th data_buffer->size(614400) can’t be less than 1228800
[Func]:svp_npu_model_check_input_dataset [Line]:1420 [Info]:Error, 0-th input data buffer check failed
[Func]:svp_npu_model_check_inout_dataset [Line]:1496 [Info]:Error, check input dataset failed
[Func]:svp_npu_model_check_execute_param [Line]:1550 [Info]:Error, check in/out dataset failed
[Func]:svp_npu_model_execute [Line]:928 [Info]:Error, check model execute param failed
[level]:Error,[func]:sample_common_svp_npu_model_execute [line]:1112 [info]:svp_acl_mdl_execute failed, model_id is 32, error code is 100000!

[level]:Error,[func]:sample_svp_npu_acl_frame_proc [line]:467 [info]:model execute failed!

[level]:Error,[func]:sample_svp_npu_acl_vdec_to_vo [line]:537 [info]:Error(0xffffffff),sample_svp_npu_acl_frame_proc failed!

[Func]:svp_npu_model_check_data_buffer_node [Line]:1323 [Info]:Error, 0-th data_buffer->size(614400) can’t be less than 1228800
[Func]:svp_npu_model_check_input_dataset [Line]:1420 [Info]:Error, 0-th input data buffer check failed
[Func]:svp_npu_model_check_inout_dataset [Line]:1496 [Info]:Error, check input dataset failed
[Func]:svp_npu_model_check_execute_param [Line]:1550 [Info]:Error, check in/out dataset failed
[Func]:svp_npu_model_execute [Line]:928 [Info]:Error, check model execute param failed
[level]:Error,[func]:sample_common_svp_npu_model_execute [line]:1112 [info]:svp_acl_mdl_execute failed, model_id is 32, error code is 100000!

[level]:Error,[func]:sample_svp_npu_acl_frame_proc [line]:467 [info]:model execute failed!

[level]:Error,[func]:sample_svp_npu_acl_vdec_to_vo [line]:537 [info]:Error(0xffffffff),sample_svp_npu_acl_frame_proc failed!

[Func]:svp_npu_model_check_data_buffer_node [Line]:1323 [Info]:Error, 0-th data_buffer->size(614400) can’t be less than 1228800
[Func]:svp_npu_model_check_input_dataset [Line]:1420 [Info]:Error, 0-th input data buffer check failed
[Func]:svp_npu_model_check_inout_dataset [Line]:1496 [Info]:Error, check input dataset failed
[Func]:svp_npu_model_check_execute_param [Line]:1550 [Info]:Error, check in/out dataset failed
[Func]:svp_npu_model_execute [Line]:928 [Info]:Error, check model execute param failed
[level]:Error,[func]:sample_common_svp_npu_model_execute [line]:1112 [info]:svp_acl_mdl_execute failed, model_id is 32, error code is 100000!

我来回答
回答6个
时间排序
认可量排序

mm

2个粉丝

0

问答

0

专栏

0

资料

mm 2024-03-15 11:09:36
认可0

请问博主解决了

铭戢
铭戢   回复   mm  2024-03-15 16:10:00
0

还没有,你有什么思路吗?我们可以探讨一下

mm
mm   回复   铭戢  2024-03-15 19:03:13
0

问题应该在vpss阶段, 0-th data_buffer->size(614400) can’t be less than 1228800模型输入小了

BowerLai

0个粉丝

0

问答

0

专栏

0

资料

BowerLai 2024-04-28 21:12:21
认可0

例子中是根据模型的输入去设置的ext_frame分辨率,例子中的原来的om模型的input size 是设置的640 320,而原生yolov5输入是 640 640,导致输入不一致,修改sample_svp_npu_acl_frame_proc中的size计算规则

SkyLe

0个粉丝

2

问答

0

专栏

0

资料

SkyLe 2024-06-21 10:24:41
认可0

博主,请问有将onnx转om的ATC工具链吗?

铭戢
铭戢   回复   SkyLe  2024-06-27 13:43:30
0

这个sdk包里就有的

或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区