code: def _run_rpn_target(self, anchors, gt_boxes, config):
      gt_boxes_tf = tf.placeholder(tf.float32, shape=gt_boxes.shape)
      im_size = tf.placeholder(tf.float32, shape=(2,))
      all_anchors = tf.placeholder(tf.float32, shape=anchors.shape)
  
      model = RPNTarget(anchors.shape[0], config, seed=0)
      labels, bbox_targets, max_overlaps = model(
          all_anchors, gt_boxes_tf, im_size
      )
  
      with self.test_session() as sess:
          sess.run(tf.global_variables_initializer())
          labels_val, bbox_targets_val, max_overlaps_val = sess.run(
              [labels, bbox_targets, max_overlaps],
              feed_dict={
                  gt_boxes_tf: gt_boxes,
                  im_size: self.im_size,
                  all_anchors: anchors,
              },
          )
          return labels_val, bbox_targets_val, max_overlaps_val
  
file_path: luminoth/luminoth/models/fasterrcnn/rpn_target_test.py
imports: import numpy
  import tensorflow
  from easydict import EasyDict
  from luminoth.models.fasterrcnn.rpn_target import RPNTarget
label_desc: Use image node_id 2 for calling the RPNTargetTest obj's underlying member method code with example usage: obj._run_rpn_target(anchors, gt_boxes, config) and returns: labels_val,  bbox_targets_val,  max_overlaps_val