老代码报错:scipy.misc.imresize报错: AttributeError: module 'scipy.misc' has no attribute 'imresize'

发布时间 2023-09-07 07:37:08作者: Angry_Panda

运行老代码报错:

image = misc.imresize(image, [Config.IMAGE_HEIGHT, Config.IMAGE_WIDTH], 'bilinear')
AttributeError: module 'scipy.misc' has no attribute 'imresize'

 

 

 

===============================================

 

解决方案: