code: def __init__(
      self,
      num_proposals,
      num_classes=80,
      binary_thresh=0.5,
      assign_on_cpu=False,
  ):
      super(SparsePostProcess, self).__init__()
      self.num_classes = num_classes
      self.num_proposals = num_proposals
      self.binary_thresh = binary_thresh
      self.assign_on_cpu = assign_on_cpu
  
imports: import numpy
  import paddle
  import paddle.nn
  import paddle.nn.functional
  from ppdet.core.workspace import register
  from ppdet.modeling.bbox_utils import nonempty_bbox
  from .transformers import bbox_cxcywh_to_xyxy
label_desc: Use image node_id 1 to create a new SparsePostProcess object from inherited base classes: object with example: obj = SparsePostProcess(num_proposals, num_classes, binary_thresh, assign_on_cpu)