谷歌colab没有';在使用python和tensorflow进行图像分类时,是否显示错误、图形和任何图像结果?

谷歌colab没有';在使用python和tensorflow进行图像分类时,是否显示错误、图形和任何图像结果?,python,tensorflow,Python,Tensorflow,我使用的是笔记本电脑(Jupyter和google colab),但只要出现错误,或显示结果的图像,或图形。当我运行代码时,只会为那些图像结果或错误显示空白,但不会显示实际结果 试试这个 from IPython.display import Image Image('yourimage.png')

我使用的是笔记本电脑(Jupyter和google colab),但只要出现错误,或显示结果的图像,或图形。当我运行代码时,只会为那些图像结果或错误显示空白,但不会显示实际结果

试试这个

from IPython.display import Image
Image('yourimage.png')