Alternative to scipy.misc.imresize()

前端 未结 5 1787
一个人的身影
一个人的身影 2021-01-01 17:44

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

5条回答
  •  萌比男神i
    2021-01-01 17:54

    Just do one thing that resolves all the version 2 problems

    import tensorflow.compat.v1 as tf
    tf.disable_v2_behavior()
    

提交回复
热议问题