已合并
修复IMGWarpResize geir example #1330
sgqt12创建于 8 天前
修复IMGWarpResize geir example #1330
已合并
Pull Request已成功合入, 合并人@CANN-robot
(感谢 sgqt12 的贡献)8 天前 关联了issue:[Bug-Report|缺陷反馈]: image下面大部分用例编译失败
atomgit-bot
8 天前 评论:
8 天前 评论:
变更摘要
该 PR 为 Bug 修复,主要修复 image/img_warp_resize/examples/arch35/test_geir_img_warp_resize.cpp 示例文件:调整了头文件包含路径以正确引用 img_warp_resize_proto.h,并放宽了命令行参数校验逻辑,使程序在未传入参数时不再直接返回失败,而仅在有参数时打印该参数。作者已确认该改动可编译通过。
主要改动
- 修正头文件引用路径: 移除不再需要的
experiment_ops.h、nn_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],不再因缺少命令行参数而退出失败。


atomgit-bot
8 天前 评论:
8 天前 评论:
8 天前 添加了label:cann-cla/yes
CANN-robot
8 天前 评论:
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
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)


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


7 天前 update merge request[project id: 7657293, iid: 1330, commit_id: 605e63391be72b3e7c23c0c1a392cefd6e7a69bb] virtual merging success
7 天前 update merge request[project id: 7657293, iid: 1330, commit_id: 605e63391be72b3e7c23c0c1a392cefd6e7a69bb] virtual merging success
7 天前 添加了label:ci-pipeline-running
CANN-robot
7 天前 评论:
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执行结束


CANN-robot
7 天前 评论:
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执行结束


7 天前 添加了label:api-check-pass
7 天前 删除了label:ci-pipeline-running
7 天前 添加了label:ci-pipeline-passed
liu-wei
7 天前 评论:
7 天前 评论:
/lgtm
/approve


7 天前 添加了label:approved
TangPC
7 天前 评论:
7 天前 评论:
/lgtm
/approve


7 天前 添加了label:lgtm
7 天前 合入了pull request
描述
修复IMGWarpResize geir example
关联的Issue
关联的Issue https://gitcode.com/cann/ops-cv/issues/764
测试
已测试可以编过
文档更新
类型标签