Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

tensorboardX

> 编程语言
Open source

tensorboard for pytorch (and chainer, mxnet, numpy, ...)

8.0K stars0 likes1 views
WebsiteGitHub

About

tensorboard for pytorch (and chainer, mxnet, numpy, ...)

tensorboardX

Write TensorBoard events with simple function call.

The current release (v2.6.5) is tested with PyTorch 2.6 / torchvision 0.21.0 / tensorboard 2.19.0 on Python 3.10 to 3.13

  • Support scalar, image, figure, histogram, audio, text, graph, onnx_graph, embedding, pr_curve, mesh, hyper-parameters and video summaries.

  • FAQ

Install

pip install tensorboardX

or build from source:

pip install 'git+https://github.com/lanpa/tensorboardX'

You can optionally install crc32c to speed up.

pip install crc32c

Starting from tensorboardX 2.1, You need to install soundfile for the add_audio() function (200x speedup).

pip install soundfile

Example

  • Clone the files in https://github.com/lanpa/tensorboardX/tree/master/examples
  • Run the demo script: e.g. python examples/demo.py
  • Start TensorBoard with tensorboard --logdir runs
…

Screenshots

Using TensorboardX with Comet

TensorboardX now supports logging directly to Comet. Comet is a free cloud based solution that allows you to automatically track, compare and explain your experiments. It adds a lot of functionality on top of tensorboard such as dataset management, diffing experiments, seeing the code that generated the results and more.

This works out of the box and just require an additional line of code. See a full code example in this Colab Notebook

Tweaks

To add more ticks for the slider (show more image history), check https://github.com/lanpa/tensorboardX/issues/44 or https://github.com/tensorflow/tensorboard/pull/1138

Reference

  • TeamHG-Memex/tensorboard_logger
  • dmlc/tensorboard

Issues· 92 open

View all issuesOpen on GitHub
  • #782

    Temporary GIF file may not be deleted on Windows in `make_video()`

    Updated Sep 26, 2026
  • #780

    Escape strings in projector configuration files

    Updated Sep 12, 2026
  • #778

    Respect write_to_disk for embeddings and hparams

    Updated Sep 12, 2026
  • #776

    Give same-second event writers distinct file names

    Updated Sep 12, 2026
  • #749

    type hints not correctly configured

    Updated Apr 9, 2026
  • #598

    EOFerror at the end of multiprocessing

    Updated Mar 22, 2026
  • #641

    Multiple scalars in the same plot, without separate runs

    Updated Apr 12, 2025
  • #730

    Failure to upload summary to GCP

    Updated Dec 14, 2024
  • #727

    SummaryWriter segfaults python

    Updated Nov 17, 2024
  • #724

    Support add_mesh for visdom writer?

    Updated Apr 14, 2024

> Tags

Pythonmachine-learningnumpypytorchtensorboard

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言