code: def __init__(
      self,
      anchors,
      anchor_masks,
      downsample_ratios,
      ide_thresh=0.5,
      fg_thresh=0.5,
      bg_thresh=0.4,
      num_classes=1,
  ):
      super(Gt2JDETargetThres, self).__init__()
      self.anchors = anchors
      self.anchor_masks = anchor_masks
      self.downsample_ratios = downsample_ratios
      self.ide_thresh = ide_thresh
      self.fg_thresh = fg_thresh
      self.bg_thresh = bg_thresh
      self.num_classes = num_classes
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from numbers import Integral
  import cv2
  import copy
  import numpy
  import random
  import math
  from .operators import BaseOperator, register_op
  from .batch_operators import Gt2TTFTarget
  from ppdet.modeling.bbox_utils import bbox_iou_np_expand
  from ppdet.utils.logger import setup_logger
  from .op_helper import gaussian_radius
label_desc: Use image node_id 1 to create a new Gt2JDETargetThres object from inherited base classes: BaseOperator with example: obj = Gt2JDETargetThres(anchors, anchor_masks, downsample_ratios, ide_thresh, fg_thresh, bg_thresh, num_classes)