参考
https://blog.youkuaiyun.com/u011573853/article/details/106302419
scipy
cannot import name ‘imread’, ‘imresize’ from ‘scipy.misc’
1、要嘛将scipy的版本调低一点
2、用其他包进行代替
from imageio import imread
from PIL import Image
# img = imresize(img, (256, 256))
img = np.array(Image.fromarray(img).resize((256, 256)))
norm_map = imresize(raw_hm, (height, width))
#换成
norm_map = np.array(Image.fromarray(raw_hm).resize( (height, width)))