Error : Could not import PIL.Image. The use of `load_img` requires PIL.
问题ImportError: Could not import PIL.Image. The use of load_img requires PIL.解决办法pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple/ pillow原因是没有安装pillow,因为使用load_img()函数需要pillow...