[英]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 如何使用keras图像显示列表中存储的许多图像,以下代码仅显示第一个图像,而列表中包含多个图像
for errimg in anomalylist:
print (errimg)
showimg = image.load_img(errimg, target_size=(224, 224))
plt.imshow(showimg)
for errimg in anomalylist:
print (errimg)
showimg = image.load_img(errimg, target_size=(224, 224))
plt.imshow(showimg)
plt.show()
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.