AttributeError: module 'tensorflow' has no attribute 'estimator'.

0 votes

Hi Guys,

I installed tensorflow in my system. I tried to create one model using Sequential method. But it shows me the below error when I tried to use estimator function.

AttributeError: module 'tensorflow' has no attribute 'estimator'
Apr 23 in Machine Learning by akhtar
• 11,270 points
171 views

1 answer to this question.

0 votes

Hi@akhtar,

There was an environment issue, tensorflow was running in its own environment and not at base, at anaconda. So you can uninstall tensorflow and reinstall again.

$ pip uninstall tensorflow
$ pip install tensorflow

Hope this will help.

answered Apr 23 by MD
• 24,500 points

Related Questions In Machine Learning

0 votes
0 answers

AttributeError: module 'tensorflow.compat' has no attribute 'v1'

i am building an Rasa chatbot but ...READ MORE

Nov 3, 2019 in Machine Learning by Usman
• 120 points
1,273 views
0 votes
1 answer
0 votes
1 answer

AttributeError: module 'cv2.cv2' has no attribute 'face_LBPHFaceRecognizer'

Hi@MD, LBPHFaceRecognizer module comes from a package named ...READ MORE

answered Apr 20 in Machine Learning by akhtar
• 11,270 points
523 views
0 votes
1 answer

After installation of tensorflow ,attribute error: no Session module exists

To install TensorFlow you need to have ...READ MORE

answered Mar 16 in Machine Learning by Sirajul
• 53,110 points
104 views
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 963 views
0 votes
0 answers
0 votes
0 answers

Hello I have some errors while implementing variational autoencoder

def dense_layers(sizes): return tfk.Sequential([tfkl.Dense(size, ...READ MORE

May 18, 2019 in Machine Learning by anonymous

edited May 20, 2019 by Omkar 401 views
0 votes
1 answer

AttributeError: module 'tensorflow' has no attribute 'constant'

Hi@akhtar, There may be problem in the versions. ...READ MORE

answered Apr 21 in Machine Learning by MD
• 24,500 points
593 views
0 votes
1 answer

AttributeError: module 'tensorflow' has no attribute 'enable_eager_execution'

Hi@akhtar, Tensorflow 2.0 has eager_execution enabled by default and ...READ MORE

answered Apr 21 in Machine Learning by MD
• 24,500 points
152 views