dragen1860 / Deep-Learning-with-TensorFlow-book

深度学习入门开源书,基于TensorFlow 2.0案例实战。Open source Deep Learning book, based on TensorFlow 2.0 framework.
http://www.ai101edu.com
13.21k stars 4.08k forks source link

ch13:toimage函数已经取消,无法使用 #111

Closed wangvm closed 4 years ago

wangvm commented 4 years ago

ch13中的scipy库 from scipy.misc import toimage 其中的toimage函数已经没有了 可以改为使用 from PIL import Image 40行的 toimage(final_image).save(image_path) 可更改为 Image.fromarray(final_image).save(image_path)

dragen1860 commented 4 years ago

收到,谢谢!