【发布时间】:2021-09-11 16:57:35
【问题描述】:
我正在研究 SimCLR 的增强,我们必须从一张图像生成两个。但如果我绘制我的输出,它只显示一个图像。我不明白为什么
def augment_ops()
....
return image
def preprocess_image_train(image):
image1 = augment_ops(image)
image2 = augment_ops(image)
return image1, image2
output = preprocess_image_train(img1)
plt.imshow(output)
plt.show()
【问题讨论】:
标签: python unsupervised-learning data-augmentation