TensorFlow image operations for batches

后端 未结 5 928
孤街浪徒
孤街浪徒 2020-12-08 08:35

There are a number of image operations in TensorFlow used for distorting input images during training, e.g. tf.image.random_flip_left_right(image, seed=None) an

5条回答
  •  [愿得一人]
    2020-12-08 09:22

    You could use tf.reverse to simulate tf.image.random_flip_left_right and tf.image.random_flip_up_down on 4-D tensors with shape [batch, height, width, channel].

提交回复
热议问题