Tensorboard: No dashboards are active for the current data set.

Created on 24 Jul 2018  路  14Comments  路  Source: tensorflow/tensorboard

Consider Stack Overflow for getting support using TensorBoard - they have a larger community with better searchability:

https://stackoverflow.com/questions/tagged/tensorboard

For bug reports, please include the following:

  • TensorBoard version=1.8.0
  • OS Platform and version ( Ubuntu 16.04)
  • Python version (3.6)
  • For browser-related issues:

    • Browser type and version (Chrome 64.0.3282.140)

    • Screenshot if it's a visual issue

Please describe the bug as clearly as possible, and if possible provide a minimal example (code, data, and/or command line) to reproduce the issue. Thanks!

screenshot from 2018-07-24 22-05-55

The error shown in the figure appears, how to solve it? Thank you!

Most helpful comment

I'm closing out this issue since "No dashboards are active" is the standard message if TensorBoard can't find your data, and it's not a bug in TensorBoard unless you can show why TensorBoard should be finding your data.

If you believe you're seeing the error because of a bug in TensorBoard, please open a new issue and fill out enough detail to be clear on how to easily reproduce the problem.

@tribbloid can you confirm first that the problem is not on the PyTorch side, since you're using the PyTorch-provided SummaryWriter, and if so, open a new issue for this with the full issue template details? It would also help if you can attach the specific event files in the logdir you're using that you expected TensorBoard to be displaying.

All 14 comments

Hi Ding-Hai-Tao,
Sorry if I am uninformed, but is =\home\b1906\htding\lanenet-lane-detection-master\tboard\lanenet\vgg is legal path? Can you ls it?

@ding-hai-tao It looks like you have an extra space in --logdir =\home\... it should be --logdir=\home\... or --logdir \home\.... (either a space, or an equals sign, but not both)

Any solution???

Hi @nfelt

Is that specific logdir folder needed to be initialized something?
I have the same error page as showed above.

Thanks.

Same error here:

Tensorboard= 1.12.1
Python= 3.6
OS= Ubuntu 16.04

user@MyPC:~/Python/runs$ tensorboard --logdir /home/user/Python/runs/

/home/user/anaconda3/lib/python3.6/site-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
Exception in thread Reloader:
Traceback (most recent call last):
  File "/user/nacho/anaconda3/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/home/user/anaconda3/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/user/anaconda3/lib/python3.6/site-packages/tensorboard/backend/application.py", line 361, in _reload_forever
    reload_multiplexer(multiplexer, path_to_run)
  File "/home/user/anaconda3/lib/python3.6/site-packages/tensorboard/backend/application.py", line 335, in reload_multiplexer
    multiplexer.Reload()
  File "/home/user/anaconda3/lib/python3.6/site-packages/tensorboard/backend/event_processing/plugin_event_multiplexer.py", line 195, in Reload
    accumulator.Reload()
  File "/home/user/anaconda3/lib/python3.6/site-packages/tensorboard/backend/event_processing/plugin_event_accumulator.py", line 185, in Reload
    for event in self._generator.Load():
  File "/home/user/anaconda3/lib/python3.6/site-packages/tensorboard/backend/event_processing/directory_watcher.py", line 88, in Load
    for event in self._LoadInternal():
  File "/home/user/anaconda3/lib/python3.6/site-packages/tensorboard/backend/event_processing/directory_watcher.py", line 112, in _LoadInternal
    for event in self._loader.Load():
  File "/home/user/anaconda3/lib/python3.6/site-packages/tensorboard/backend/event_processing/event_file_loader.py", line 53, in Load
    self._reader.GetNext(status)
TypeError: GetNext() takes 1 positional argument but 2 were given

TensorBoard 1.5.1 at http://Skadi:6006 (Press CTRL+C to quit)

The path /home/user/Python/runs/ is valid (I can do ls)
I have the same problem when running

user@MyPC:~/Python/runs$ tensorboard --logdir /home/user/Python/runs/

I also find strange that the version I have is 1.12.1 but when I run the command it says 1.5.1.

any solution?@Ding-hai-tao,i have the same question.Please help me!

@garcia-nacho Do user@MyPC:~/Python/runs$ tensorboard --logdir="/home/user/Python/runs/" instead of user@MyPC:~/Python/runs$ tensorboard --logdir /home/user/Python/runs/, what you show in the log. Also, make sure that you call Tensorboard outside the folder in which you write the logs, as this invokes EXACTLY the same error message, too. Try and tell me :) :+1:

@ding-hai-tao ,maybe I got an answer.You can try to run your .ipynb file on the terminal. And then, you can navigate the http://localhost:6006.

@garcia-nacho Do user@MyPC:~/Python/runs$ tensorboard --logdir="/home/user/Python/runs/" instead of user@MyPC:~/Python/runs$ tensorboard --logdir /home/user/Python/runs/, what you show in the log. Also, make sure that you call Tensorboard outside the folder in which you write the logs, as this invokes EXACTLY the same error message, too. Try and tell me :)

thanks bro

Hi I am facing the same issue as I have tried every possible way to resolve it out.

Also affect me, I'm using pytorch 1.2.0 so not sure if it is the right thread.

# %%
import os

import torch
from tensorboard.program import TensorBoard
from torch.utils.tensorboard import SummaryWriter
from torchvision.models import resnet
from torchvision.models._utils import IntermediateLayerGetter
from torchvision.models.detection.backbone_utils import resnet_fpn_backbone

from gate_detection.model.detection._utils import IntermediateLayerTuple
from gate_detection.utils import StrUtil
from gate_detection.utils.testingUtils import It

# %%

write = SummaryWriter()

tbDir = os.path.abspath(write.log_dir) + '/'

print(f"SummaryWriter is writing into {tbDir}")

tb = TensorBoard()
# tb.configure(argv=[None, '--logdir', "'" + tbDir + "'"])
tb.configure(logdir=tbDir)
url = tb.launch()

# %%

net = resnet.resnet34()
print(net)
x = torch.rand(1, 3, 300, 300, dtype=torch.float32)
write.add_graph(net, x, verbose=True)
write.flush()

I'm closing out this issue since "No dashboards are active" is the standard message if TensorBoard can't find your data, and it's not a bug in TensorBoard unless you can show why TensorBoard should be finding your data.

If you believe you're seeing the error because of a bug in TensorBoard, please open a new issue and fill out enough detail to be clear on how to easily reproduce the problem.

@tribbloid can you confirm first that the problem is not on the PyTorch side, since you're using the PyTorch-provided SummaryWriter, and if so, open a new issue for this with the full issue template details? It would also help if you can attach the specific event files in the logdir you're using that you expected TensorBoard to be displaying.

no problem, here you go:

UPDATE sorry file formated not supported by github, uploaded to google instead https://drive.google.com/open?id=1pqJ92xjaAR0cJA0-83hruHsQBewQl85J

@garcia-nacho Do user@MyPC:~/Python/runs$ tensorboard --logdir="/home/user/Python/runs/" instead of user@MyPC:~/Python/runs$ tensorboard --logdir /home/user/Python/runs/, what you show in the log. Also, make sure that you call Tensorboard outside the folder in which you write the logs, as this invokes EXACTLY the same error message, too. Try and tell me :) 馃憤

work for me!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yfarjoun picture yfarjoun  路  3Comments

decentralion picture decentralion  路  3Comments

smatsumori picture smatsumori  路  4Comments

wchargin picture wchargin  路  3Comments

yegortokmakov picture yegortokmakov  路  3Comments