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.3.tar.gz
(4.3 kB
view details)
Built Distribution
tbw-0.0.3-py3-none-any.whl
(4.7 kB
view details)
File details
Details for the file tbw-0.0.3.tar.gz
.
File metadata
- Download URL: tbw-0.0.3.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 845952fcc39fabd66261ad9cf10e8728b0ef4e762069ac714a1ceeb9c67dba90 |
|
MD5 | 9736b38507510553778c9d2510c3c9b2 |
|
BLAKE2b-256 | 6046296885928f46f3d434a7a215423cd64e88ccd015ae852a5dc1a6b6542eb9 |
File details
Details for the file tbw-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: tbw-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b3658111eece3f41f5bc566779ccfcc55b6f7c50460363b5adf9adb77f9f1d1 |
|
MD5 | ed27b112a375dc6f3a423ba56873ea1b |
|
BLAKE2b-256 | d0c9c0e734bf984836d9a0f22b655017b829add5fb363b98baa2fdafe939958b |