未验证 提交 88776e40 编写于 作者: F FlyingQianMM 提交者: GitHub

fix SyntaxError in examples in retinanet_target_assign English API, test=develop (#22774)

上级 f2d1cd11
...@@ -233,7 +233,7 @@ def retinanet_target_assign(bbox_pred, ...@@ -233,7 +233,7 @@ def retinanet_target_assign(bbox_pred,
dtype='float32') dtype='float32')
im_info = fluid.data(name='im_infoss', shape=[1, 3], im_info = fluid.data(name='im_infoss', shape=[1, 3],
dtype='float32') dtype='float32')
score_pred, loc_pred, score_target, loc_target, bbox_inside_weight, fg_num = score_pred, loc_pred, score_target, loc_target, bbox_inside_weight, fg_num = \\
fluid.layers.retinanet_target_assign(bbox_pred, cls_logits, anchor_box, fluid.layers.retinanet_target_assign(bbox_pred, cls_logits, anchor_box,
anchor_var, gt_boxes, gt_labels, is_crowd, im_info, 10) anchor_var, gt_boxes, gt_labels, is_crowd, im_info, 10)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册