AttributeError: module 'tensorflow' has no attribute 'estimator'
See original GitHub issueI have py36-tensorflow-1.14.0 and py36-tensorflow-estimator-1.14.0_1 installed (both are latest versions), but tensorboard fails:
$ tensorboard < events.out.tfevents.1568855561.yv.noip.me
Traceback (most recent call last):
File "/usr/local/bin/tensorboard", line 6, in <module>
from tensorboard.main import run_main
File "/usr/local/lib/python3.6/site-packages/tensorboard/main.py", line 40, in <module>
from tensorboard import default
File "/usr/local/lib/python3.6/site-packages/tensorboard/default.py", line 39, in <module>
from tensorboard.plugins.beholder import beholder_plugin_loader
File "/usr/local/lib/python3.6/site-packages/tensorboard/plugins/beholder/__init__.py", line 22, in <module>
from tensorboard.plugins.beholder.beholder import Beholder
File "/usr/local/lib/python3.6/site-packages/tensorboard/plugins/beholder/beholder.py", line 199, in <module>
class BeholderHook(tf.estimator.SessionRunHook):
File "/usr/local/lib/python3.6/site-packages/tensorflow/python/util/deprecation_wrapper.py", line 106, in __getattr__
attr = getattr(self._dw_wrapped_module, name)
AttributeError: module 'tensorflow' has no attribute 'estimator'
tensorboard is of version 2.0.0, also the latest from PyPI.
So tensorboard is broken, fails to run.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
How to fix "module 'tensorflow' has no attribute 'estimator ...
Use "pip freeze | grep tensorflow " to check if tensorflow-estimator package has been installed. If so, uninstall it. Go to site-packages and ......
Read more >AttributeError module tensorflow has no attribute estimator
Hi Guys, I installed tensorflow in my system. I tried to create one model using Sequential method.
Read more >Error: AttributeError: module 'tensorflow' has no attribute 'lite'
Hi! I'm recycling old motherboards that need to use tensorflow version 1.5. When I use tflite, it gives an error.
Read more >module 'tensorflow.python.estimator.estimator_lib' has no ...
Attributeerror : module 'tensorflow.python.estimator.estimator_lib' has no attribute 'sessionrunhook'. Why I'm getting this issue when I try to ...
Read more >How to fix “module 'tensorflow' has no attribute 'estimator' ” ...
Python – How to fix “module 'tensorflow' has no attribute 'estimator' ” error · I do not have any version of TF installed...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is the case: TensorBoard 2.0 and TensorFlow 2.0 are compatible.
For any given minor series x.y, TensorBoard x.y is compatible with TensorFlow x.y, and no other guarantees are made.
You don’t need to build TensorFlow from scratch. (I don’t usually—it takes a long time.) Release candidate binaries are provided on PyPI.
We don’t control what packages are available in the FreeBSD repositories, so I can’t advise you there.
This is not true. I can build TensorBoard on my personal laptop just fine. Also, all daily development of TensorBoard is done using public Bazel binaries, building the public TensorBoard source tree, in exactly the same way that is specified in the documentation on this repository. We receive contributions from third-party contributors who successfully use Bazel to build and test their code.
Please feel free to send patches that improve support for FreeBSD. We’d be happy to accept them, provided that they don’t complicate the overall system too much. Bazel also has “community support” for FreeBSD, so I suspect that they have a similar policy.