code: def __init__(
      self,
      batch_size_per_im=512,
      fg_fraction=0.25,
      fg_thresh=0.5,
      bg_thresh=0.5,
      use_random=True,
      cascade_iou=[0.5, 0.6, 0.7],
      num_classes=80,
      num_bins=3,
  ):
      super(BBoxLibraAssigner, self).__init__()
      self.batch_size_per_im = batch_size_per_im
      self.fg_fraction = fg_fraction
      self.fg_thresh = fg_thresh
      self.bg_thresh = bg_thresh
      self.use_random = use_random
      self.cascade_iou = cascade_iou
      self.num_classes = num_classes
      self.num_bins = num_bins
  
imports: import sys
  import paddle
  from ppdet.core.workspace import register, serializable
  from .target import rpn_anchor_target, generate_proposal_target, generate_mask_target, libra_generate_proposal_target
  import numpy
label_desc: Use image node_id 1 to create a new BBoxLibraAssigner object from inherited base classes: object with example: obj = BBoxLibraAssigner(batch_size_per_im, fg_fraction, fg_thresh, bg_thresh, use_random, cascade_iou, num_classes, num_bins)