【发布时间】:2019-07-09 22:38:07
【问题描述】:
我正在尝试批量移动所有图像并进行“最近”插值。由于某种原因,生成的图像被黑色像素插值......这是一个错误吗?
translations = [100,0] * len(img_batch_list)
img_batch = tf.contrib.image.translate(img_batch,
translations,
interpolation='NEAREST',
name="shift")
【问题讨论】:
标签: python tensorflow image-processing data-augmentation