def __init__(self, num_classes=1, decode=None, nms=None, return_idx=True):
    super(JDEBBoxPostProcess, self).__init__()
    self.num_classes = num_classes
    self.decode = decode
    self.nms = nms
    self.return_idx = return_idx
    self.fake_bbox_pred = paddle.to_tensor(np.array([[(- 1), 0.0, 0.0, 0.0, 0.0, 0.0]], dtype='float32'))
    self.fake_bbox_num = paddle.to_tensor(np.array([1], dtype='int32'))
    self.fake_nms_keep_idx = paddle.to_tensor(np.array([[0]], dtype='int32'))
    self.fake_yolo_boxes_out = paddle.to_tensor(np.array([[[0.0, 0.0, 0.0, 0.0]]], dtype='float32'))
    self.fake_yolo_scores_out = paddle.to_tensor(np.array([[[0.0]]], dtype='float32'))
    self.fake_boxes_idx = paddle.to_tensor(np.array([[0]], dtype='int64'))
def __init__(self, num_classes=1, decode=None, nms=None, return_idx=True):
    super(JDEBBoxPostProcess, self).__init__()
    self.num_classes = num_classes
    self.decode = decode
    self.nms = nms
    self.return_idx = return_idx
    self.fake_bbox_pred = paddle.to_tensor(np.array([[(- 1), 0.0, 0.0, 0.0, 0.0, 0.0]], dtype='float32'))
    self.fake_bbox_num = paddle.to_tensor(np.array([1], dtype='int32'))
    self.fake_nms_keep_idx = paddle.to_tensor(np.array([[0]], dtype='int32'))
    self.fake_yolo_boxes_out = paddle.to_tensor(np.array([[[0.0, 0.0, 0.0, 0.0]]], dtype='float32'))
    self.fake_yolo_scores_out = paddle.to_tensor(np.array([[[0.0]]], dtype='float32'))
    self.fake_boxes_idx = paddle.to_tensor(np.array([[0]], dtype='int64'))