A wrapper to facilitate tensorboard logging
Project description
TBW
A wrapper to facilitate Tensorboard logging.
Overview
Documentation
Checkout the documentation of TBW to learn more details about how to use our codebase.
Installation
pip install tbw # with pip from PyPI
pip install git+'https://github.com/ramyamounir/TBW' # with GitHub
Usage
Note: More examples available in the documentations
import torch
from tbw import TBWrapper
wrapper = TBWrapper('logs') # path to logging directory
loss_writer = wrapper('scalar', 'loss')
for _ in range(10):
loss_writer(torch.randn(1))
del wrapper
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tbw-0.0.2.tar.gz
(4.1 kB
view hashes)
Built Distribution
tbw-0.0.2-py3-none-any.whl
(4.6 kB
view hashes)