import tensorflow as tf

                step=global_step)
            tf.contrib.summary.scalar(
                'fast_rcnn_class_loss', tf.reduce_mean(fast_rcnn_class_loss),
                step=global_step)
            tf.contrib.summary.scalar(
                'fast_rcnn_box_loss', tf.reduce_mean(fast_rcnn_box_loss),
                step=global_step)
            if params['include_mask']:
              tf.contrib.summary.scalar(
                  'mask_loss', tf.reduce_mean(mask_loss), step=global_step)
