import tensorflow as tf


                                    if cfgs.ADD_BOX_IN_TENSORBOARD:
                                        detections_in_img = self.drawer.draw_boxes_with_categories_and_scores(
                                            img_batch=tf.expand_dims(img[0, :, :, :], axis=0),
                                            boxes=outputs[0],
                                            scores=outputs[1],
