已合并
修复IMGWarpResize geir example #1330
修复IMGWarpResize geir example #1330
已合并
sgqt12创建于 8 天前
sgqt12
sgqt12成员
8 天前

描述

修复IMGWarpResize geir example

关联的Issue

关联的Issue https://gitcode.com/cann/ops-cv/issues/764

测试

已测试可以编过

文档更新

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 sgqt12 的贡献)
sgqt12sgqt12成员
8 天前 创建了 pull request,commit 69ee9cd5
sgqt12sgqt12成员
8 天前 关联了issue:[Bug-Report|缺陷反馈]: image下面大部分用例编译失败
atomgit-bot
atomgit-bot
8 天前 评论:

变更摘要

该 PR 为 Bug 修复,主要修复 image/img_warp_resize/examples/arch35/test_geir_img_warp_resize.cpp 示例文件:调整了头文件包含路径以正确引用 img_warp_resize_proto.h,并放宽了命令行参数校验逻辑,使程序在未传入参数时不再直接返回失败,而仅在有参数时打印该参数。作者已确认该改动可编译通过。

主要改动

  • 修正头文件引用路径: 移除不再需要的 experiment_ops.hnn_other.h 头文件包含,并将 ../op_graph/img_warp_resize_proto.h 修正为 ../../op_graph/img_warp_resize_proto.h,确保 img_warp_resize_proto.h 能被正确找到。
  • 放宽参数校验逻辑: 将原来 argc < 2 时打印用法说明并返回 FAILED 的强校验,改为 argc > 1 时才输出 argv[1],不再因缺少命令行参数而退出失败。
likedislike
atomgit-bot
atomgit-bot
8 天前 评论:

代码审查

✅ 未发现问题

likedislike
CANN-robotCANN-robot成员
8 天前 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
8 天前 评论:

Thanks for your pull-request.
The full list of commands accepted by me can be found at here.
You can get sig-info at here.
For more, you also can visit HICANN.


PR Approval Progress

Congratulations! All modules have met the lgtm and approve requirements.

Module Approval Details

module lgtm status approve status
repo-cann/ops-cv 汤平川, 刘伟 (2/2) 汤平川, 刘伟 (2/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)
likedislike
CANN-robot
CANN-robot成员
8 天前 评论:

CLA Signature Pass

u010470851, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
CANN-robotCANN-robot成员
8 天前 将yue-ma,zhou-qilong,rxtfeng,loov1,zhangzijie,zl_hw,liu-wei,pingchuantang,llimwang,gubaocheng设为评审人
CANN-robotCANN-robot成员
8 天前 将yue-ma,zhou-qilong,rxtfeng,loov1,zhangzijie,zl_hw,liu-wei,pingchuantang,llimwang,gubaocheng设为审查人
sgqt12
sgqt12成员
7 天前 评论:

compile

likedislike
sgqt12sgqt12成员
7 天前 update merge request[project id: 7657293, iid: 1330, commit_id: 605e63391be72b3e7c23c0c1a392cefd6e7a69bb] virtual merging success
CANN-robotCANN-robot成员
7 天前 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
7 天前 评论:

流水线任务触发成功
任务链接 [794274fbe9e8497eb7b82e8259b266b3][流水线指导]

任务名称状态日志下载链接
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_mobile_station ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_A5 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_A5 ✅ SUCCESS >>>>> >>>>>
pre_comment ✅ SUCCESS >>>>>
Compile_Pre ✅ SUCCESS >>>>>
Compile_Ascend_X86_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_mobile_station_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_experimental_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_A5_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_experimental_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_A5_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_910b ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_910c ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_950 ✅ SUCCESS >>>>> >>>>>
Compile_classify ✅ SUCCESS >>>>>
Compile_Ascend_X86_mobile_station_9030_ubuntu24 ✅ SUCCESS >>>>> >>>>>
UT_Test ✅ SUCCESS
PreSmoke_A900 ✅ SUCCESS >>>>>
API_Check ✅ SUCCESS >>>>>
PreSmoke_ATK_Test_A2 ✅ SUCCESS >>>>>
UT_Test_report_lcov ✅ SUCCESS

[2026-08-19 10:07:27]    CI执行结束

likedislike
CANN-robot
CANN-robot成员
7 天前 评论:

流水线任务触发成功
任务链接 [f7d9966c82de490a8d3b0c297327b391][流水线指导]

任务名称状态日志下载链接
SCA ✅ SUCCESS >>>>>
antipoison ✅ SUCCESS >>>>>
codecheck_checkpr ✅ SUCCESS
StaticCheck_codespell ✅ SUCCESS
StaticCheck_link_validity ✅ SUCCESS
StaticCheck_resource_existence ✅ SUCCESS
StaticCheck_tag_closed ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
codecheck_precommit ✅ SUCCESS >>>>>

[2026-08-19 09:56:45]    CI执行结束

likedislike
CANN-robotCANN-robot成员
7 天前 添加了label:api-check-pass
CANN-robotCANN-robot成员
7 天前 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
7 天前 添加了label:ci-pipeline-passed
liu-wei
liu-wei成员
7 天前 评论:

/lgtm
/approve

likedislike
CANN-robotCANN-robot成员
7 天前 添加了label:approved
TangPC
TangPC成员
7 天前 评论:

/lgtm
/approve

likedislike
CANN-robotCANN-robot成员
7 天前 添加了label:lgtm
CANN-robotCANN-robot成员
7 天前 合入了pull request