from scipy.misc import imsave
报错:
cannot import name 'imsave'
不知道怎么回事,问一下狗,狗说scipy.misc.imsave太rubbish。 我然后改用opencv,运行成功。
import cv2
scipy.misc.imsave(output_location,image_array.transpose())
cv2.imwrite(output_location, image_array.transpose())