A library that enables PyTorch, Chainer, MXNet, and NumPy users to write TensorBoard events with simple function calls.
TensorboardX is a Python library that enables PyTorch, Chainer, MXNet, and NumPy users to write TensorBoard events with simple function calls. It solves the problem of visualizing training metrics, model graphs, and embeddings for non-TensorFlow frameworks by providing a compatible interface to TensorBoard's logging system.
Deep learning researchers and engineers using PyTorch, Chainer, MXNet, or NumPy who need experiment visualization and tracking without switching to TensorFlow.
Developers choose TensorboardX because it provides full TensorBoard compatibility with minimal code changes, supports all major visualization types, and works seamlessly with their existing PyTorch/MXNet/Chainer workflows.
tensorboard for pytorch (and chainer, mxnet, numpy, ...)
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports all major TensorBoard data types including scalars, images, audio, text, graphs, and embeddings, as detailed in the README's feature list and demo code.
Uses simple function calls like add_scalar() and add_image() from the SummaryWriter class, reducing boilerplate compared to custom logging solutions.
Works seamlessly with PyTorch, Chainer, MXNet, and NumPy, making it versatile for multi-framework deep learning projects as stated in the description.
Regularly tested with recent versions of PyTorch (2.6) and TensorBoard (2.19.0), ensuring reliability for modern workflows per the README.
Requires optional installs like crc32c for speed and soundfile for audio logging, adding setup complexity and potential version conflicts.
Tied to TensorBoard's local-first, file-based logging, which lacks built-in experiment management features like run comparison or cloud sync without third-party tools.
Focuses on logging only; users must rely on external tools or manual analysis for tasks like hyperparameter optimization or model versioning.