未验证 提交 946e0a73 编写于 作者: F FlyingQianMM 提交者: GitHub

fix SyntaxError in examples in retinanet_target_assign Chinese API, test=develop (#1796)

上级 e3636db0
...@@ -68,6 +68,6 @@ retinanet_target_assign ...@@ -68,6 +68,6 @@ retinanet_target_assign
dtype='float32') dtype='float32')
im_info = fluid.data(name='im_info', shape=[1, 3], im_info = fluid.data(name='im_info', 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.
先完成此消息的编辑!
想要评论请 注册