From 0a2efe71dab054f1f3b19ce08ad3efbeff520f96 Mon Sep 17 00:00:00 2001 From: FDInSky <48318485+FDInSky@users.noreply.github.com> Date: Tue, 30 Jul 2019 16:28:00 +0800 Subject: [PATCH] fix CascadeBBoxAssigner's bug (#2975) --- PaddleCV/PaddleDetection/ppdet/modeling/target_assigners.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PaddleCV/PaddleDetection/ppdet/modeling/target_assigners.py b/PaddleCV/PaddleDetection/ppdet/modeling/target_assigners.py index 03755762..57d7bd73 100644 --- a/PaddleCV/PaddleDetection/ppdet/modeling/target_assigners.py +++ b/PaddleCV/PaddleDetection/ppdet/modeling/target_assigners.py @@ -51,7 +51,7 @@ class CascadeBBoxAssigner(object): curr_bbox_reg_w = [ 1. / self.bbox_reg_weights[curr_stage], - 2. / self.bbox_reg_weights[curr_stage], + 1. / self.bbox_reg_weights[curr_stage], 2. / self.bbox_reg_weights[curr_stage], 2. / self.bbox_reg_weights[curr_stage], ] -- GitLab