issam
issam

Reputation: 93

how to display several images with keras?

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

Answers (1)

jonathanzalach
jonathanzalach

Reputation: 36

for errimg in anomalylist:
  print (errimg)  
  showimg = image.load_img(errimg, target_size=(224, 224))
  plt.imshow(showimg)   
  plt.show()

Upvotes: 1

Related Questions