未验证 提交 a2821a01 编写于 作者: N Nyakku Shigure 提交者: GitHub

[CodeStyle] remove tabs in python fluid unittests (#46357)

上级 3448afc1
......@@ -231,7 +231,7 @@ def _box_to_delta(ex_boxes, gt_boxes, weights):
def _expand_bbox_targets(bbox_targets_input, class_nums, is_cls_agnostic):
class_labels = bbox_targets_input[:, 0]
fg_inds = np.where(class_labels > 0)[0]
#if is_cls_agnostic:
# if is_cls_agnostic:
# class_labels = [1 if ll > 0 else 0 for ll in class_labels]
# class_labels = np.array(class_labels, dtype=np.int32)
# class_nums = 2
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册