#Not able to display prediction of images from an array of 4 folder of images. Here is the code&error

6 messages · Page 1 of 1 (latest)

ornate mountain
#

Hey guyzz, i have written a code on image enhancement where i have to predict the images of 4 combined folders of images.But i have been trying it for a long time but couldn't figure out the problem so could you please help me with the code and figure out my mistakes.Only this prediction code

hot tundra
#

Hey Ved, looks like your output / prediction is simply something else than you expect it to be :p im not really sure about the keras syntax, but i guess theres some problem with the batchsize or similar and you simply mix up two dimensions.
Have you tried it with just one single image as input?
Im not sure what your model is, whats the architecture, how does the output of this model look like?
And most important, whats the task you want to do? if youre just doing a classification, im confused about your output shape anyways, if you want to do some kind of segmentation than your output should also not have the dimension 112,112,3. Whats the task you want to do here?

ornate mountain
#

It's about the image enhancement where i have to increase the resolution of the image.Here my input is an array of 4 folders.I can provide you the complete code

#

But my task here is to display correct prediction of images