import tensorflow as tf

                gtboxes_and_label_h = get_horizen_minAreaRectangle(
                    tf.reshape(gtboxes_and_label_batch[start:end], [-1, 9]))
                gtboxes_and_label_h = tf.reshape(gtboxes_and_label_h, [cfgs.BATCH_SIZE, -1, 5])

                gtboxes_and_label_q = tf.reshape(gtboxes_and_label_batch[start:end], [cfgs.BATCH_SIZE, -1, 9])

                num_objects = num_objects_batch[start:end]
                num_objects = tf.cast(tf.reshape(num_objects, [cfgs.BATCH_SIZE, -1, ]), tf.float32)

                img_h = img_h_batch[start:end]
                img_w = img_w_batch[start:end]

                inputs_list.append([img, gtboxes_and_label_h,
                                    gtboxes_and_label_q, num_objects, img_h, img_w])
