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

后端 未结 7 1286
离开以前
离开以前 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

    for running it on python3 I used pip3 to install

    pip3 install tensorflow
    

    This worked for me

提交回复
热议问题