67386/attributeerror-module-tensorflow-has-attribute-estimator
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'
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.
Hi@akhtar, Tensorflow 2.0 has eager_execution enabled by default and ...READ MORE
Hi@akhtar, In Tensorflow 2.0, there is no placeholder. ...READ MORE
Hi@akhtar, In Tensorflow 2.0, there is no attribute named ...READ MORE
Hi@akhtar, To avoid this error, make sure you ...READ MORE
You can also use the random library's ...READ MORE
Syntax : list. count(value) Code: colors = ['red', 'green', ...READ MORE
Enumerate() method adds a counter to an ...READ MORE
def dense_layers(sizes): return tfk.Sequential([tfkl.Dense(size, ...READ MORE
Hi@Usman, It seems you are using an older ...READ MORE
Hi@akhtar, There may be problem in the versions. ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.