Reputation: 93
how to show many images stored in a list using keras image the below code show only the first image while the list contains several images
for errimg in anomalylist:
print (errimg)
showimg = image.load_img(errimg, target_size=(224, 224))
plt.imshow(showimg)
Upvotes: 1
Views: 660
Reputation: 36
for errimg in anomalylist:
print (errimg)
showimg = image.load_img(errimg, target_size=(224, 224))
plt.imshow(showimg)
plt.show()
Upvotes: 1