Skip to main content

A wrapper to facilitate tensorboard logging

Project description

TBW

PyPI Publish to PyPI

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


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.3.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

tbw-0.0.3-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page