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'
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.
Tensorflow 2.0 has eager_execution enabled by default and ...READ MORE
In Tensorflow 2.0, there is no placeholder. ...READ MORE
In Tensorflow 2.0, there is no attribute named ...READ MORE
To avoid this error, make sure you ...READ MORE
You can also use the random library's ...READ MORE
colors = ['red', 'green', ...READ MORE
can you give an example using a ...READ MORE
return tfk.Sequential([tfkl.Dense(size, ...READ MORE
It seems you are using an older ...READ MORE
There may be problem in the versions. ...READ MORE
Already have an account? Sign in.