code: def before_run(self, run_context):
      fetches = {"global_step": self._global_step}
      self._draw_images = (
          self._next_step is None
          or self._timer.should_trigger_for_step(self._next_step)
      )
  
      if self._draw_images:
          fetches["prediction_dict"] = self._prediction_dict
          fetches["image"] = self._image
          if self._gt_bboxes is not None:
              fetches["gt_bboxes"] = self._gt_bboxes
  
      return tf.train.SessionRunArgs(fetches)
  
file_path: luminoth/luminoth/utils/hooks/image_vis_hook.py
imports: import tensorflow
  from tensorflow.python.training.summary_io import SummaryWriterCache
  from luminoth.utils.image_vis import image_vis_summaries
label_desc: Use image node_id 3 for calling the ImageVisHook obj's underlying member method code with example usage: obj.before_run(run_context) and returns: tf