You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tensorboard issue with the official docker image - 1.5.0-rc0-gpu-py3 #16011
The fact that I am using the official Docker Image and I didn't build anything from scratch.
tensorflow/tensorflow 1.5.0-rc0-gpu-py3 9e770d59b136 6 days ago 2.85GB
What I get when I try to launch Tensorboard as usual:
# tensorboard --logdir=log_directory
/usr/local/lib/python3.5/dist-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
from ._conv import register_converters as _register_converters
Traceback (most recent call last):
File "/usr/local/bin/tensorboard", line 7, in <module>
from tensorboard.main import run_main
ImportError: cannot import name 'run_main'
Resolution Idea:
I noticed that by simply running the command: pip install tensorboard inside the container the problem is solved and I am able to normally launch Tensorboard.
changed the title [-]Tensorboard issue with the official docker image - 1.5.0rc[/-][+]Tensorboard issue with the official docker image - 1.5.0-rc0-gpu-py3[/+]on Jan 10, 2018
Not clear to me how it has nothing to do with the issue if I am observing exactly the same error.
/usr/local/lib/python3.5/dist-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
from ._conv import register_converters as _register_converters
If you are saying it's an issue in h5py, I get that.
I get this error as well when I just do this from a tensorflow session and a python console:
$ python
Python 3.5.3 (default, Sep 14 2017, 22:58:41)
[GCC 6.3.0 20170406] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow
/usr/lib/python3/dist-packages/h5py/__init__.py:34: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
from ._conv import register_converters as _register_converters
>>>
I tried the workarounds from above, but I think it is coming from elsewhere in either python or TF.
Activity
[-]Tensorboard issue with the official docker image - 1.5.0rc[/-][+]Tensorboard issue with the official docker image - 1.5.0-rc0-gpu-py3[/+]shivaniag commentedon Jan 10, 2018
Please redirect your issue to https://github.com/tensorflow/tensorboard/issues.
alanpurple commentedon Jan 13, 2018
@shivaniag this is not about tensorboard, just import tensorflow also cause same deprecated warning message from h5py
and issubdtype is in
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/framework/dtypes.py
DEKHTIARJonathan commentedon Jan 13, 2018
This is not a deprecation issue. This is real issue
alanpurple commentedon Jan 13, 2018
@DEKHTIARJonathan sorry I haven't read it carefully
and this is the only issue the deprecation is referred
yazabaza commentedon Jan 14, 2018
I observe the same problem with plain Tensorflow, not using Docker or Tensorboard. Appears to be in h5py.
DEKHTIARJonathan commentedon Jan 14, 2018
@yazabaza this has nothing to do with the issue related here
yazabaza commentedon Jan 14, 2018
Not clear to me how it has nothing to do with the issue if I am observing exactly the same error.
If you are saying it's an issue in h5py, I get that.
DEKHTIARJonathan commentedon Jan 14, 2018
The warning in h5py is unrelated with this issue.
The import error (and not the warning) is generated by TensorBoard, not h5py.
So I repeat, the deprecation warning in h5py IS NOT an issue, and it has nothing to do with the issue in TensorBoard.
neilpanchal commentedon Jan 14, 2018
@DEKHTIARJonathan I second, opened an new issue here: tensorflow/tensorboard#877
zh794390558 commentedon Jan 17, 2018
the official docker image - 1.5.0-rc1-gpu has the same problem.
caisq commentedon Jan 18, 2018
cc @jart @chihuahua
caisq commentedon Jan 18, 2018
cc @chihuahua
daniellowell commentedon Jan 18, 2018
I get this error as well when I just do this from a tensorflow session and a python console:
I tried the workarounds from above, but I think it is coming from elsewhere in either python or TF.
DEKHTIARJonathan commentedon Jan 18, 2018
@daniellowell please read carefully the discussion, it's really anoying to repeat over and over the same thing: #16011 (comment)
aselle commentedon Jan 18, 2018
@jart, could your team PTAL?
jart commentedon Jan 19, 2018
A fix was pushed a few hours ago that works towards solving this issue: 34a589e
I'd like to close out this issue in favor of tensorflow/tensorboard#877.
jart commentedon Jan 19, 2018
Also note the workaround reported by @MikalaiDrabovich: