解决cs321n 的 python教程中 name 'imread' ‘imsave’ 'imresize' is not defined 的问题

将from scipy.misc import imread 改成 from scipy.misc.pilutil import imread, imsave,imresize

但这在后边的作业的jupyter notebook中没用,如果要改的话就相当于改动教程所给的代码了,比较麻烦,我放弃了

所以最后我的解决办法是从windows10系统转到了Ubuntu16.04,问题就不存在了

如果大家在windows上能有更好的解决方法可以解决这个问题,从而在Windows上也能运行assignment代码的请留言,谢谢~~~

猜你喜欢

转载自blog.csdn.net/yestin_L/article/details/79490450