def read_data():
    img_a = tf.image.decode_image(tf.read_file(tf.string_join(['./training_set/', self.data_queue[0]])), channels=3)
    img_b = tf.image.decode_image(tf.read_file(tf.string_join(['./training_set/', self.data_queue[1]])), channels=3)
    (img_a, img_b) = preprocessing([img_a, img_b])
    return (img_a, img_b)
def read_data():
    img_a = tf.image.decode_image(tf.read_file(tf.string_join(['./training_set/', self.data_queue[0]])), channels=3)
    img_b = tf.image.decode_image(tf.read_file(tf.string_join(['./training_set/', self.data_queue[1]])), channels=3)
    (img_a, img_b) = preprocessing([img_a, img_b])
    return (img_a, img_b)