I have designed an autoencoder to read an (256*256) RGB image which gives an output as an array of float32 elements with dimensions (256,256,3) with some of the elements as shown in the figure.
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)
As I observed the output array values are in the range < 1. Now I want to to depict the output array classes as an image by expanding the values to the range of 256. What would be the best way to display the image?output values