1441
- 收藏
- 点赞
- 分享
- 举报
Hi3519DV500运行sample_svp_npu例程推理几帧后超时
运行的是sample_svp_npu例程中的yolov5模型, 从sensor获取图像, 但是在推理几帧后报错超时, 例程输出如下:
~ # ./sample_svp_npu_main 8 5
[level]:Info,[func]:sample_common_svp_check_sys_init [line]:182 [info]:Svp mpi init ok!
[level]:Info,[func]:sample_svp_npu_acl_init [line]:202 [info]:svp acl init success!
[level]:Info,[func]:sample_svp_npu_acl_init [line]:211 [info]:open device 0 success!
[level]:Info,[func]:sample_svp_npu_acl_init [line]:221 [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:8180456, id:32!
[level]:Info,[func]:sample_common_svp_npu_load_model [line]:311 [info]:load model ./data/model/yolov5.om success!
linear mode
===IMX347 Slave 4M 30fps 12bit LINE Init OK!===
ISP Dev 0 running !
---------------press Enter key to exit!---------------
[Func]:svp_npu_rt_impl_execute_model_process [Line]:1735 [Info]:Error, stream[0] sync execute timeout
[Func]:svp_npu_model_execute [Line]:1181 [Info]:Error, runtime execute model failed
[level]:Error,[func]:sample_common_svp_npu_model_execute [line]:1114 [info]:svp_acl_mdl_execute failed, model_id is 32, error code is 507012!
[level]:Error,[func]:sample_svp_npu_acl_frame_proc [line]:503 [info]:model execute failed!
[level]:Error,[func]:sample_svp_npu_acl_vdec_to_vo [line]:576 [info]:Error(0xffffffff),sample_svp_npu_acl_frame_proc failed!
logmpp输出:
<3>[ pm] [Func]:pm_set_freq_val_check [Line]:612 [Info]:close the NPU clock!
<3>[svp_npu] [Func]:svp_npu_ts_get_aicpu_task_wait_queue_process [Line]:990 [Info]:wait sync[1] task timeout! timeout:120000
/proc/umap/svp_npu信息:
[SVP_NPU] Version: [HI3519DV500_MPP_V2.0.1.1 B040 Release], Build Time[Jan 25 2024, 09:30:09]
----------------------------------------svp_npu module param------------------------------------------------------------
npu_save_power max_task_node_num max_stream_num max_event_num prof_buf_size
1 32 64 32 2048
----------------------------------------dev[0] svp_npu resource info----------------------------------------------------
max_model_num max_sec_model_num max_stream_num max_event_num max_report_num
64 32 64 32 128
free_model_num free_sec_model_num free_stream_num free_event_num free_report_num
63 32 63 32 128
----------------------------------------svp_npu process info [pid:1767]-------------------------------------------------
pid model_num stream_num report_num event_num aicpu_num prof_en sync_timeout
1767 1 1 0 0 0 0 120000
----------------------------------------svp_npu process stream info-----------------------------------------------------
id sq_id head tail prior cb_tid cb_block cb_block_id push_cnt sqe_cnt recv_cnt status
0 0 20 18 0 0 0 0 2 0 20 1
----------------------------------------svp_npu process model info------------------------------------------------------
id prior preempt_en up_step up_top stream_id last_task_time preempted_en name
32 3 1 0 0 0 49568 0 yolov5
id in_num out_num om_size work_buf_size bandwidth original_ops cube_ops
32 2 2 8180456 10086400 87569104 32897843200 40713584640
id input_00_shape input_01_shape output_00_shape output_01_shape
32 1x3x640x640 1x4x1x1 1x1x1x1 1x1x6x30
----------------------------------------svp_npu irq info----------------------------------------------------------------
device_id irq_cnt_last_sec max_irq_cnt_per_sec total_irq_cnt
0 1 1 18
cur_irq_time max_irq_time irq_time_last_sec max_irq_time_per_sec total_irq_time
73 153 89 89 1227
----------------------------------------svp_npu runtime info------------------------------------------------------------
device_id hw_status last_sq_id last_task_node_id prof_flag
0 1 0 0 0
timeout_err_cnt hw_err_cnt aicpu_err_cnt last_hw_task_time hw_utilization total_running_time
0 0 0 49568 0 95478
板端环境:
Chip: HI3516DV500
HardWare_ver: G16DV5-IPC-38E_V1.0
SDK: Hi3519DV500_SDK_V2.0.1.1 + Hi3519DV500_REF_V2.0.1.1
SoftWare_ver: V2.1
App_ver: V1.1
date: 2024-03-19
我来回答
回答5个
时间排序
认可量排序
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片
相关问答
-
2025-04-08 17:37:53
-
2024-07-29 21:31:26
-
2024-01-03 18:40:24
-
2024-12-23 11:13:09
-
2024-03-07 11:13:43
-
2024-09-27 11:37:54
-
2025-01-07 14:21:37
-
2024-12-19 14:51:41
-
2024-11-11 17:06:20
-
2025-03-19 13:49:11
-
2024-03-15 15:38:18
-
2024-11-20 09:52:01
-
2024-07-27 17:49:08
-
2024-02-21 15:46:37
-
2025-01-16 15:56:24
-
2024-09-12 14:44:41
-
2024-02-22 14:32:17
-
2025-02-28 15:02:24
-
2025-03-20 15:20:06
无更多相似问答 去提问

点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
10sd3403 usb2.0开启问题
-
5嵌入式openEuler怎样安装软件
-
5SD3403移植openEuler启动慢,怎样开启 RANDOM_TRUST_CPU
-
5海思 ISP 例程
-
10海思SS528V100 同一时刻仅允许有一个通道放大;当一个通道进行semi-planar 420转semi-planar422时,其它通道不能再放大; 有什么方法可以解决该问题.
-
5PQTOOLS工具中的ISO值不能修改?但是需要获取不同ISO值的N帧数据
-
10hi3516cd610运行sample_uvc例程报错hi_mpi_uvc_create_chn(chn:0) failed with 0xa05a8018!
-
5海思SS928V100,svp_npu部署yolov8自训练模型,离线om模型转换过程中报错
-
5OS08A20 sensor i2c 报错
-
5DTOF的demo运行时内核挂死
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认