import tensorflow as tf

                                    gtboxes_in_img_q = self.drawer.draw_boxes_with_categories(
                                        img_batch=tf.expand_dims(img[0, :, :, :], axis=0),
                                        boxes=gtboxes_and_label_q[0, :, :-1],
                                        labels=gtboxes_and_label_q[0, :, -1],
                                        method=2)
                                    tf.summary.image('Compare/gtboxes_q_gpu:%d' % i, gtboxes_in_img_q)

                                    gtboxes_in_img_h = self.drawer.draw_boxes_with_categories(
                                        img_batch=tf.expand_dims(img[0, :, :, :], axis=0),
                                        boxes=gtboxes_and_label_h[0, :, :-1],
