运行代码报错:
AttributeError: module 'scipy.misc' has no attribute 'imread'
配置
tensorflow=1.2.1
scipy=1.3.2
python=3.5
解决方法:
安装pillow库
pip install pillow
#版本为6.2.1
scipy库降级
pip install scipy==1.2.1
运行代码报错:
AttributeError: module 'scipy.misc' has no attribute 'imread'
配置
tensorflow=1.2.1
scipy=1.3.2
python=3.5
解决方法:
安装pillow库
pip install pillow
#版本为6.2.1
scipy库降级
pip install scipy==1.2.1