Skip to content
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

Tensorboard Version (1.13.1) is incompatible with Pytorch support for Tensorboard #578

Closed
mrosett opened this issue Jul 3, 2019 · 3 comments
Assignees
Labels
upgrade-package Requests to update a package to a newer version

Comments

@mrosett
Copy link

mrosett commented Jul 3, 2019

Running on a GPU instance:

import torch
from torch.utils import tensorboard

gives this error:

--------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
/opt/conda/lib/python3.6/site-packages/torch/utils/tensorboard/__init__.py in <module>
      1 try:
----> 2     from tensorboard.summary.writer.record_writer import RecordWriter  # noqa F401
      3 except ImportError:

ModuleNotFoundError: No module named 'tensorboard.summary.writer'

During handling of the above exception, another exception occurred:

ImportError                               Traceback (most recent call last)
<ipython-input-24-b61a87f36f9b> in <module>
      1 import torch
----> 2 from torch.utils import tensorboard

/opt/conda/lib/python3.6/site-packages/torch/utils/tensorboard/__init__.py in <module>
      2     from tensorboard.summary.writer.record_writer import RecordWriter  # noqa F401
      3 except ImportError:
----> 4     raise ImportError('TensorBoard logging requires TensorBoard with Python summary writer installed. '
      5                       'This should be available in 1.14 or above.')
      6 from .writer import FileWriter, SummaryWriter  # noqa F401

ImportError: TensorBoard logging requires TensorBoard with Python summary writer installed. This should be available in 1.14 or above.

Tensorboard isn't explicitly installed, and, oddly, the tensorboard module doesn't have a __version__ property, but you can find it by running

from tensorboard import version
print(version.VERSION)

1.13.1

It would be great to get that version bumped, although it looks like doing so might be a bit complicated.

@rosbo rosbo self-assigned this Jul 4, 2019
@rosbo
Copy link
Contributor

rosbo commented Jul 4, 2019

Hi @mrosett,

Our latest build includes the version 1.14 of tensorboard. This build hasn't been released to Kaggle Kernels yet. This change should be part of next week release.

@rosbo rosbo added the upgrade-package Requests to update a package to a newer version label Jul 4, 2019
@mrosett
Copy link
Author

mrosett commented Jul 5, 2019

Great - thanks!

@rosbo
Copy link
Contributor

rosbo commented Jul 12, 2019

@mrosett TensorBoard 1.14 has been released in Kaggle Kernels. Let me know if you are still experimenting issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upgrade-package Requests to update a package to a newer version
Projects
None yet
Development

No branches or pull requests

2 participants