Skip to content

[0-size Tensor No.360] Add 0-size Tensor support for yolo_box - #73015

Closed
co63oc wants to merge 3 commits into
PaddlePaddle:developfrom
co63oc:b46
Closed

co63oc wants to merge 3 commits into
PaddlePaddle:developfrom
co63oc:b46

Conversation

@co63oc

@co63oc co63oc commented May 30, 2025 •

Copy link
Copy Markdown
Contributor

PR Category

Execute Infrastructure

PR Types

Improvements

Description

修改前向
infermeta 不用修改
kernel 修改 cpu/gpu/xpu

PaddleAPITest 测试已修复cuda error

python engine.py --paddle_only=True --api_config='paddle.vision.ops.yolo_box(Tensor([2, 16, 8, 0],"float32"), img_size=Tensor([2, 2],"int32"), anchors=list[10,13,16,30,], class_num=2, conf_thresh=0.01, downsample_ratio=8, clip_bbox=True, scale_x_y=1.0, iou_aware=True, iou_aware_factor=0.5, )'

image

paddle error 是已有的逻辑判断, torch中没有相应接口
image

@paddle-bot

paddle-bot Bot commented May 30, 2025

Copy link
Copy Markdown

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册。
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot paddle-bot Bot added the contributor External developers label May 30, 2025
@luotao1 luotao1 added the HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务 label May 30, 2025
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 0% with 6 lines in your changes missing coverage. Please review.

Please upload report for BASE (develop@44de935). Learn more about missing BASE report.

Files with missing lines Patch % Lines
paddle/phi/kernels/cpu/yolo_box_kernel.cc 0.00% 6 Missing ⚠️

❌ Your patch status has failed because the patch coverage (0.00%) is below the target coverage (90.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop   #73015   +/-   ##
==========================================
  Coverage           ?    0.00%           
==========================================
  Files              ?        1           
  Lines              ?        6           
  Branches           ?        0           
==========================================
  Hits               ?        0           
  Misses             ?        6           
  Partials           ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@co63oc

co63oc commented May 30, 2025

Copy link
Copy Markdown
Contributor Author

已合入 #73017

@co63oc co63oc closed this May 30, 2025
@co63oc
co63oc deleted the b46 branch June 14, 2025 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants