tensorflow / tensorboard

TensorFlow's Visualization Toolkit
Apache License 2.0
6.68k stars 1.65k forks source link

Tensorboard does not appear in browser (Google Chrome and/or Internet Explorer) #3413

Open mehedi-tut opened 4 years ago

mehedi-tut commented 4 years ago

Environment information (required)

Following is the environment information :

Diagnostics

Diagnostics output `````` --- check: autoidentify INFO: diagnose_tensorboard.py version d515ab103e2b1cfcea2b096187741a0eeb8822ef --- check: general INFO: sys.version_info: sys.version_info(major=3, minor=7, micro=6, releaselevel='final', serial=0) INFO: os.name: posix INFO: os.uname(): posix.uname_result(sysname='Linux', nodename='aidl03', release='4.4.0-170-generic', version='#199-Ubuntu SMP Thu Nov 14 01:45:04 UTC 2019', machine='x86_64') INFO: sys.getwindowsversion(): N/A --- check: package_management INFO: has conda-meta: True INFO: $VIRTUAL_ENV: None --- check: installed_packages INFO: installed: tensorboard==1.14.0 INFO: installed: tensorflow==1.14.0 INFO: installed: tensorflow-estimator==2.1.0 --- check: tensorboard_python_version INFO: tensorboard.version.VERSION: '1.14.0' --- check: tensorflow_python_version ../anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint8 = np.dtype([("qint8", np.int8, 1)]) .. /anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_quint8 = np.dtype([("quint8", np.uint8, 1)]) .. /anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint16 = np.dtype([("qint16", np.int16, 1)]) .. /anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_quint16 = np.dtype([("quint16", np.uint16, 1)]) .. /anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint32 = np.dtype([("qint32", np.int32, 1)]) .. /anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. np_resource = np.dtype([("resource", np.ubyte, 1)]) .. /anaconda3/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint8 = np.dtype([("qint8", np.int8, 1)]) .. /anaconda3/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_quint8 = np.dtype([("quint8", np.uint8, 1)]) .. /anaconda3/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint16 = np.dtype([("qint16", np.int16, 1)]) .. /anaconda3/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_quint16 = np.dtype([("quint16", np.uint16, 1)]) .. /anaconda3/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint32 = np.dtype([("qint32", np.int32, 1)]) .. /anaconda3/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. np_resource = np.dtype([("resource", np.ubyte, 1)]) INFO: tensorflow.__version__: '1.14.0' INFO: tensorflow.__git_version__: 'unknown' --- check: tensorboard_binary_path INFO: which tensorboard: b'.. /anaconda3/bin/tensorboard\n' --- check: addrinfos socket.has_ipv6 = True socket.AF_UNSPEC = socket.SOCK_STREAM = socket.AI_ADDRCONFIG = socket.AI_PASSIVE = Loopback flags: Loopback infos: [(, , 6, '', ('::1', 0, 0, 0)), (, , 6, '', ('127.0.0.1', 0))] Wildcard flags: Wildcard infos: [(, , 6, '', ('0.0.0.0', 0)), (, , 6, '', ('::', 0, 0, 0))] --- check: readable_fqdn INFO: socket.getfqdn(): '..' --- check: stat_tensorboardinfo INFO: directory: /tmp/.tensorboard-info INFO: os.stat(...): os.stat_result(st_mode=16895, st_ino=18350110, st_dev=2050, st_nlink=2, st_uid=1000, st_gid=1000, st_size=4096, st_atime=1576748708, st_mtime=1584940178, st_ctime=1584940178) INFO: mode: 0o40777 --- check: source_trees_without_genfiles INFO: tensorboard_roots (1): ['.. /anaconda3/lib/python3.7/site-packages']; bad_roots (0): [] --- check: full_pip_freeze INFO: pip freeze --all: 2to3==1.0 absl-py==0.7.0 anaconda-client==1.7.2 anaconda-navigator==1.9.2 asn1crypto==1.3.0 astor==0.7.1 attrs==19.3.0 backcall==0.1.0 beautifulsoup4==4.8.2 bleach==3.1.0 cachetools==4.0.0 certifi==2019.11.28 cffi==1.14.0 chardet==3.0.4 clyent==1.2.2 conda==4.8.3 conda-build==3.15.1 conda-package-handling==1.6.0 cryptography==2.8 cycler==0.10.0 Cython==0.29.15 decorator==4.4.2 defusedxml==0.6.0 entrypoints==0.3 filelock==3.0.12 gast==0.3.3 glob2==0.7 google==2.0.3 google-auth==1.11.2 google-auth-oauthlib==0.4.1 google-cloud==0.34.0 google-pasta==0.1.8 grpcio==1.27.2 h5py==2.10.0 idna==2.9 importlib-metadata==1.5.0 ipykernel==5.1.4 ipython==7.12.0 ipython-genutils==0.2.0 ipywidgets==7.5.1 jedi==0.16.0 Jinja2==2.11.1 json5==0.9.2 jsonschema==3.2.0 jupyter-client==6.0.0 jupyter-core==4.6.1 jupyterlab==1.2.6 jupyterlab-server==1.0.7 Keras-Applications==1.0.8 Keras-Preprocessing==1.1.0 kiwisolver==1.1.0 Markdown==3.1.1 MarkupSafe==1.1.1 matplotlib==3.1.3 mistune==0.8.4 mkl-fft==1.0.15 mkl-random==1.1.0 mkl-service==2.3.0 mock==2.0.0 navigator-updater==0.2.1 nbconvert==5.6.1 nbformat==5.0.4 notebook==6.0.3 numpy==1.18.1 oauthlib==3.1.0 object-detection==0.1 olefile==0.46 opencv-contrib-python==4.2.0.32 opencv-python==4.1.0.25 opt-einsum==3.2.0 pandas==1.0.1 pandocfilters==1.4.2 parso==0.6.2 pbr==5.1.3 pexpect==4.8.0 pickleshare==0.7.5 Pillow==7.0.0 pip==20.0.2 pkginfo==1.5.0.1 prometheus-client==0.7.1 prompt-toolkit==3.0.3 protobuf==3.11.4 psutil==5.7.0 ptyprocess==0.6.0 pyasn1==0.4.8 pyasn1-modules==0.2.8 pycocotools==2.0.0 pycosat==0.6.3 pycparser==2.20 Pygments==2.6.1 pyOpenSSL==19.1.0 pyparsing==2.4.6 pyrsistent==0.15.7 PySocks==1.7.1 python-dateutil==2.8.1 pytz==2019.3 PyYAML==5.3 pyzmq==18.1.1 QtPy==1.9.0 requests==2.23.0 requests-oauthlib==1.3.0 rsa==4.0 ruamel-yaml==0.15.87 scipy==1.4.1 Send2Trash==1.5.0 setuptools==46.0.0.post20200309 six==1.14.0 slim==0.1 soupsieve==2.0 tensorboard==1.14.0 tensorflow==1.14.0 tensorflow-estimator==2.1.0 tensorflow-hub==0.4.0 termcolor==1.1.0 terminado==0.8.3 testpath==0.4.4 tf-trt-models==0.0 tornado==6.0.4 tqdm==4.43.0 traitlets==4.3.3 urllib3==1.25.8 wcwidth==0.1.8 webencodings==0.5.1 Werkzeug==1.0.0 wheel==0.34.2 widgetsnbextension==3.5.1 wrapt==1.12.1 zipp==2.2.0 I have run the following command to visualize the event of TensorFlow by tensorboard. tensorboard --logdir /event directory But got the blank page in the chrome browser. It was the same in internet explorer as well. My chrome version is 80.0.3987.149 (the latest) Internet Explorer version is 11.0.9600.19596
rmothukuru commented 4 years ago

Please provide details about what platform you are using (operating system, architecture). Also include your TensorFlow version. Also, did you compile from source or install a binary?

Make sure you also include the exact command if possible to produce the output included in your test case. If you are unclear what to include see the issue template displayed in the Github new issue template.

We ask for this in the issue submission template, because it is really difficult to help without that information. Thanks!

mehedi-tut commented 4 years ago

My OS is Ubuntu 16.04.6 LTS. GPU Nvidia Tesla V 100. Tensorflow 1.14.0 Tensorboard 1.14.0 I use the following command to produce the output: tensorboard --logdir /event_directory

rmothukuru commented 4 years ago

@mehedi-tut, Instead of /event_directory, can you try removing '/' and use the below command,

tensorboard --logdir event_directory

Thanks!

mehedi-tut commented 4 years ago

@rmothukuru I did but I get the error : The site can't be reached. Thanks.

rmothukuru commented 4 years ago

@mehedi-tut, Can you please share the code in which you are writing the Variables or the Graph using Tensorboard Summary Writer. Thanks!

stephanwlee commented 4 years ago

Something is a little off. You reported the version of the Internet Explorer yet your diagnose_me script reports Ubuntu. Are you using Ubuntu subsystem for Windows? If not, are you running TensorBoard on Ubuntu but is trying to access the server from Windows? (this isn't going to work).

If you have two different systems and want to access the TensorBoard on another system, please use <id_v4_or_v6_addr_of_tb_system>:6006 to access it.

mehedi-tut commented 4 years ago

@mehedi-tut, Can you please share the code in which you are writing the Variables or the Graph using Tensorboard Summary Writer. Thanks!

I use the following tensorflow script:

https://github.com/tensorflow/models/blob/master/research/object_detection/model_main.py

mehedi-tut commented 4 years ago

Something is a little off. You reported the version of the Internet Explorer yet your diagnose_me script reports Ubuntu. Are you using Ubuntu subsystem for Windows? If not, are you running TensorBoard on Ubuntu but is trying to access the server from Windows? (this isn't going to work).

If you have two different systems and want to access the TensorBoard on another system, please use <id_v4_or_v6_addr_of_tb_system>:6006 to access it.

I use ubuntu in an Nvidia DGX station and I access the tensorboard from my windows PC. The thing is that I can run the tensorboard the same way but tensorboard version 1.9.0 but a different NVIDIA DGX station. Is it a version problem?

stephanwlee commented 4 years ago

Is it a version problem?

There aren't enough information to answer with certainty but likely not. Please try to access the server on the DGX station using IP address instead of localhost.

mehedi-tut commented 4 years ago

Is it a version problem?

There aren't enough information to answer with certainty but likely not. Please try to access the server on the DGX station using IP address instead of localhost.

Yes, I did access through the IP address of the DGX from the beginng.

stephanwlee commented 4 years ago

Thanks for confirming that explicitly.

I think I am out of things I can recommend. Is your network, otherwise, set up correctly? (e.g., can you ping the DGX machine from Windows?)

If you were using 2.0.0, I would recommend bind_all (see the relnote) flag but that does not seem to be the case.

mehedi-tut commented 4 years ago

Thanks for confirming that explicitly.

I think I am out of things I can recommend. Is your network, otherwise, set up correctly? (e.g., can you ping the DGX machine from Windows?)

If you were using 2.0.0, I would recommend bind_all (see the relnote) flag but that does not seem to be the case.

Yes, I did ping to the DGX from my windows, it works fine. I am using tensorboard 1.14.0.

stephanwlee commented 4 years ago

One last thing: could you try tensorboard --host='0.0.0.0' with your logdir?

mehedi-tut commented 4 years ago

One last thing: could you try tensorboard --host='0.0.0.0' with your logdir?

Still I get the same. Thanks.

teristam commented 4 years ago

Is it possible that your problem somehow related to #3077 ? I got the same problem yesterday but when I changed the Content Type in my registery entry HKEY_CLASSES_ROOT\.js to text/javascript and rebooted, tensorboard worked again. You can check the console output of your browser web developer tool to see if there is any mime type error reported there.