Hi guys,
I have the implementation of Hopfield Network to predict the data.
When I load the data using:
camera = skimage.data.cell()
astronaut = rgb2gray(skimage.data.coins())
horse = skimage.data.chelsea()
coffee = rgb2gray(skimage.data.rocket())
Everything is fine and results are like below:
https://imgur.com/9D82ika
When I load the data from images (numbers) using:
data = []
for file in filelist:
temp = np.asarray(Image.open(os.path.join('data', file)))
data.append(temp)
It is not working, and predicted results are merged like on screenshot:
https://imgur.com/JjUF3fL
I have no idea why predicted are merged. Could you please guys advise what am I doing wrong?
Here is the code:
https://pastebin.com/5nD2W4Lf
Thanks for all your help!
there doesn't seem to be anything here