Why plt.imshow() doesn't display the image?

前端 未结 4 2164
予麋鹿
予麋鹿 2020-12-13 12:06

I am a newbie to keras, and when I tried to run my first keras program on my linux, something just didn\'t go as I wish. Here is my python code:

import numpy         


        
4条回答
  •  被撕碎了的回忆
    2020-12-13 12:53

    plt.imshow just finishes drawing a picture instead of printing it. If you want to print the picture, you just need to add plt.show.

提交回复
热议问题