【发布时间】:2019-03-31 01:51:03
【问题描述】:
我设计了一个自动编码器来读取 (256*256) RGB 图像,该图像将输出作为 float32 元素的数组,尺寸为 (256,256,3),其中一些元素如图所示。
img = Image.open('C:\\Users\\ece\\Desktop\\validation\\validate\\small_0002_7.jpg')
x = image.img_to_array(img)
x = np.expand_dims(x, axis=0)
images = np.vstack([x])
classes = autoencoder.predict(images)
正如我观察到的输出数组值在 output values
【问题讨论】:
标签: python-3.x numpy neural-network deep-learning autoencoder