import tensorflow as tf

                                                                          Tout=tf.float32)
                                        gtboxes_and_label_r_ = tf.reshape(gtboxes_and_label_r_, [-1, 6])

                                        gt_encode_label = tf.py_func(angle_label_encode,
                                                                     inp=[gtboxes_and_label_r_[:, -2], cfgs.ANGLE_RANGE,
                                                                          cfgs.OMEGA, cfgs.ANGLE_MODE],
