未验证 提交 616ef634 编写于 作者: W wangxinxin08 提交者: GitHub

fix assign error (#4534)

上级 a769ae3a
......@@ -469,7 +469,7 @@ class RBoxAssigner(object):
bbox_targets = np.zeros_like(anchors)
bbox_weights = np.zeros_like(anchors)
bbox_gt_bboxes = np.zeros_like(anchors)
pos_labels = np.ones(anchors_num, dtype=np.int32) * -1
pos_labels = np.zeros(anchors_num, dtype=np.int32)
pos_labels_weights = np.zeros(anchors_num, dtype=np.float32)
pos_sampled_anchors = anchors[pos_inds]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册