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

后端 未结 7 1301
离开以前
离开以前 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 19:02

    I solved this by below method.

      pip uninstall tensorflow_estimator
      pip install tensorflow_estimator
    

    the reference is : https://github.com/tensorflow/tensorflow/issues/27079

提交回复
热议问题