I want to use an old script which still uses scipy.misc.imresize() which is not only deprevated but removed entirely from scipy. Instead the devs recommend to u
scipy.misc.imresize()
Just do one thing that resolves all the version 2 problems
import tensorflow.compat.v1 as tf tf.disable_v2_behavior()