From 3a6c1f9573f20ef0b993938075fd23f1a531aeb1 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) --- ppdet/modeling/target_assigners.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ppdet/modeling/target_assigners.py b/ppdet/modeling/target_assigners.py index 03755762d..57d7bd738 100644 --- a/ppdet/modeling/target_assigners.py +++ b/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