Why I cannot import Tensorflow.contrib I get an error of No module named 'tensorflow.python.saved

后端 未结 7 1248
离开以前
离开以前 2020-12-05 18:25

Hi I just installed Tensorflow on my Mac and I want to use tf.contrib.slim but when I use it I get this

import tensorflow as tf

s         


        
7条回答
  •  时光取名叫无心
    2020-12-05 18:47

    Starting from tensorflow 13.1 there's no contrib. You can use without it slim = tf.slim or you can install pip install tensorflow==1.13 and use it

提交回复
热议问题