Skip to content

【Infer Symbolic Shape No.171,176-179】【BUAA】yolo_box yolo_box_head yolo_box_post updata_loss_scaling_ tdm_child #67121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Aug 14, 2024

Conversation

tlxd
Copy link
Contributor

@tlxd tlxd commented Aug 7, 2024

PR Category

CINN

PR Types

Improvements

Description

添加 yolo_box,yolo_box_head,yolo_box_post,tdm_child,update_loss_scaling_ 算子符号推导接口实现。

Copy link

paddle-bot bot commented Aug 7, 2024

你的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.

@luotao1 luotao1 added contributor External developers HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务 labels Aug 7, 2024
@tlxd
Copy link
Contributor Author

tlxd commented Aug 14, 2024

coverage-1
coverage-2
coverage-3
两处不是我修改的算子函数,最后一处yolo_box_head只有Paddle/test/ir/inference/test_trt_convert_yolo_box_head.py 路径下,不知道是否能直接添加test_check_output函数

@gongshaotian
Copy link
Contributor

coverage-1 coverage-2 coverage-3 两处不是我修改的算子函数,最后一处yolo_box_head只有Paddle/test/ir/inference/test_trt_convert_yolo_box_head.py 路径下,不知道是否能直接添加test_check_output函数

因为不断有新代码合入 coverage 流水线测试结果渲染的行数可能会有偏移

@@ -188,6 +188,7 @@ OP_DECLARE_INFER_SYMBOLIC_SHAPE(MergeSelectedRows)
OP_DECLARE_INFER_SYMBOLIC_SHAPE(Renorm)
OP_DECLARE_INFER_SYMBOLIC_SHAPE(Renorm_)
OP_DECLARE_INFER_SYMBOLIC_SHAPE(TanhShrink)
OP_DECLARE_INFER_SYMBOLIC_SHAPE(YoloBoxHead)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for YoloBoxHead

@luotao1 luotao1 merged commit ade5764 into PaddlePaddle:develop Aug 14, 2024
28 checks passed
// // pass
// return true;
// }
bool TdmChildOpInferSymbolicShape(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for TdmChildOpInferSymbolicShape

// }
const std::vector<symbol::DimExpr> &x_shape = x_shape_or_data.shape();
int anchor_num = static_cast<int>(anchors.size() / 2);

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里是不是能根据 iou_aware 添加一些 equal 约束

// // pass
// return true;
// }
bool UpdateLossScaling_OpInferSymbolicShape(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for UpdateLossScaling_

@tlxd tlxd deleted the cinn-no.171,176-179 branch August 16, 2024 03:01
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.

4 participants