code: def setUp(self):
      super(RCNNTargetTest, self).setUp()
  
      # We don't care about the class labels or the batch number in most of
      # these tests.
      self._num_classes = 5
      self._placeholder_label = 3.0
  
      self._config = EasyDict(
          {
              "foreground_threshold": 0.5,
              "background_threshold_high": 0.5,
              "background_threshold_low": 0.1,
              "foreground_fraction": 0.5,
              "minibatch_size": 2,
          }
      )
      # We check for a difference smaller than this numbers in our tests
      # instead of checking for exact equality.
      self._equality_delta = 1e-03
  
      self._shared_model = RCNNTarget(
          self._num_classes, self._config, seed=0
      )
      tf.reset_default_graph()
  
file_path: luminoth/luminoth/models/fasterrcnn/rcnn_target_test.py
imports: import numpy
  import tensorflow
  from easydict import EasyDict
  from luminoth.models.fasterrcnn.rcnn_target import RCNNTarget
  from luminoth.utils.test.gt_boxes import generate_gt_boxes
label_desc: Use image node_id 1 for calling the RCNNTargetTest obj's underlying member method code with example usage: obj.setUp() without return types