From 88776e40b9661cfe95e3b47ec7d231c9652d21d6 Mon Sep 17 00:00:00 2001 From: FlyingQianMM <245467267@qq.com> Date: Thu, 27 Feb 2020 16:27:12 +0800 Subject: [PATCH] fix SyntaxError in examples in retinanet_target_assign English API, test=develop (#22774) --- python/paddle/fluid/layers/detection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/layers/detection.py b/python/paddle/fluid/layers/detection.py index a4fa34e8fb3..e0725242b7b 100644 --- a/python/paddle/fluid/layers/detection.py +++ b/python/paddle/fluid/layers/detection.py @@ -233,7 +233,7 @@ def retinanet_target_assign(bbox_pred, dtype='float32') im_info = fluid.data(name='im_infoss', shape=[1, 3], 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, anchor_var, gt_boxes, gt_labels, is_crowd, im_info, 10) -- GitLab