New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: module 'tensorboard.util' has no attribute 'PersistentOpEvaluator' #1724
Comments
I solved this problem by trying to merge my tensorboard\plugins folder with https://github.com/tensorflow/tensorboard |
Same Issue , @npv14 's solution didn't work for me. Would it be correct if I said that there should be a class PersistentOpEvaluator in tensorboard/util.py file? and there is a class by that name over there, but still it doesn't work for some reason.
|
Same issue here. Have been compiling Tensorflow 1.12 myself to work on a Xeon without AVX instructions (but with Cuda). Both compiled Tensorboard and pipped Tensorboard show the same behavior. |
I got it working with the following steps:
You can find the wheel packages here for specific install types: Note: I only stated the specific wheel package because that's what I did. I know this doesn't explain the 'why' of the issue but it got things going for me. Hope it helps! |
@kenpachiii I reinstalled tensorflow and tensorboard too (using conda however) but it still refuses to work(tried |
Wat version of python do you use?
I need to compile it manually due to the lack of avx instructions.
Kind regards,
Eelco
Op ma 31 dec. 2018 03:22 schreef RiteshBM <notifications@github.com:
… @kenpachiii <https://github.com/kenpachiii> I reinstalled tensorflow and
tensorboard too (using conda however) but it still refuses to work(tried tensorflow-gpu
1.12.0 with tensorboard 1.12.1/1.12.0).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1724 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AC_RQ-_m77Ei3YhHwYaeQo99V3UD_Adoks5u-XTlgaJpZM4Zf-r9>
.
|
Hello everyone, thanks for reporting the issue. Which version of TensorFlow have you installed? Like @kenpachiii put, can you try to delete tensorboad directory in site-packages (Location in |
I got same issue. Here is how I fix it by delete tensorboard folder & tensorboard.dist.info and reinstall tensorboard with respective version according to tensorflow. mine is running |
Thanks, it seems the problem from tb-nightly. I uninstalled tb-nightly and reinstalled the tensorboard. |
Another hack to solve it: First edit your $PYTHONPATH/tensorboard/util/init.py (normally empty) to contain the following:
Second, you should modify the $PYTHONPATH/tensorboard/plugins/beholder/im_util.py file, and change it on line 25 like this: from
to
Change then the two classes that inherit from util.PersistentOpEvaluator so that they inherit from op_evaluator:
This will take care of the incompatibilities. |
@lucventurini your solution pop out another error. AttributeError: module ‘tensorboard' has no attribute 'lazy' |
@RengXian Make sure that you don't have tb-nightly installed in your env. |
@wookayin Thanks a lot! it works just by uninstall the tb-nightly. |
@kenpachiii, @stephanwlee Thanks a lot. I use anaconda (Python 3.6.7), and installed tensorflow with conda command. I found two versions of tensorboard (1.12 and 1.13) were installed. So I delete both and reinstalled 1.12. As a result, the problem was solved. |
@DummyCo Hi, did you happen to resolve this ? Please keep us posted. |
@hgadig yep seems like clean reinstallation of tf and tb resolved the problem, Thanks everyone for sharing 'n attempts! |
thanks,it do work! use pip show tensorboard and then delete all directories about tensorboard ,next reinstall a lower version of tensorboard (mine is 1.12). |
Just type |
Getting next error on
tensorboard
launch attempt:Version:
Thank you!
The text was updated successfully, but these errors were encountered: