-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Support static graph code-gen for yolo_loss #52946
Changes from 7 commits
8d5118f
ba2315c
0a7979f
f1d512c
c5bfa2c
310e976
f883bcc
53e0bba
567779c
f5cacdc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2117,3 +2117,15 @@ | |
kernel : | ||
func : yolo_box | ||
data_type : x | ||
|
||
- op : yolo_loss | ||
args : (Tensor x, Tensor gt_box, Tensor gt_label, Tensor gt_score, int[] anchors={}, int[] anchor_mask={}, int class_num =1 , float ignore_thresh=0.7, int downsample_ratio=32, bool use_label_smooth=true, float scale_x_y=1.0) | ||
output : Tensor(loss), Tensor(objectness_mask), Tensor(gt_match_mask) | ||
infer_meta : | ||
func : YoloLossInferMeta | ||
kernel : | ||
func : yolo_loss | ||
data_type : x | ||
optional : gt_score | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 增加
修改
修改为:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 请问研发大哥这个是怎么发现的?我看log就看不出来 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 这个是由于 |
||
intermediate : objectness_mask, gt_match_mask | ||
backward : yolo_loss_grad |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
legacy_backward.yaml
中的yolo_loss_grad
是不是没有删除,ci-py3
编译信息显示重定义了There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
确实= = 估计解冲突的时候搞挂了