notebook.community
Edit and run
In [ ]: from PIL import Image
from PIL import Image
In [5]: face = misc.face() face = misc.imread('face.png')
face = misc.face() face = misc.imread('face.png')
--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-5-50985ee8c6c7> in <module>() 1 face = misc.face() ----> 2 face = misc.imread('face.png') AttributeError: 'module' object has no attribute 'imread'
In [ ]: