View tensorboard stats inside terminal.
Project description
Terminal-plot for Tensorboard
A plotter for tensorboard, directly within your terminal. This is useful when you are training your neural network on a remote server, and you just want to quickly peek at the training curve without launching a tensorboard instance and mess with forwarding ports.
Install
You can install the package published in PyPI with
$ pip install tensorboard-termplot
# or install with an isolated environment
# $ pipx install tensorboard-termplot
Usage
$ tensorboard-termplot FOLDER
For example,
$ tensorboard-termplot ~/my_amazing_nn/runs
where runs
is the folder that tensorboard had created.
Example
Running the executable on a tensorboard output folder:
Or with the consolidate flag -c/--consolidate
to combine multiple stats with a common prefix (most stats in the bottom figure had empty values):
Help
$ tensorboard-termplot --help
usage: tensorboard-termplot [-h] [--canvas-color CANVAS_COLOR]
[--axes-color AXES_COLOR]
[--ticks-color TICKS_COLOR] [--colorless] [-d]
[--grid] [--plotsize WIDTH,HEIGHT] [--force-label]
[--no-iter-color] [-c] [-f] [-n secs]
[--log_interval LOG_INTERVAL]
FOLDER
positional arguments:
FOLDER Folder of a tensorboard runs
optional arguments:
-h, --help show this help message and exit
--canvas-color CANVAS_COLOR
set the color of the plot canvas (the area where the
data is plotted)
--axes-color AXES_COLOR
sets the background color of all the labels
surrounding the actual plot, i.e. the axes, axes
labels and ticks, title and legend, if present
--ticks-color TICKS_COLOR
sets the (full-ground) color of the axes ticks and of
the grid lines.
--colorless Remove color.
-d, --dark-theme A collection of flags. If set, it is equivalent to
setting canvas-color and axes-color to black, and
setting ticks-color to red. Can be overwritten
individually.
--grid Show grid.
--plotsize WIDTH,HEIGHT
Manually set the size of each subplot, e.g., 50,20.
--force-label Force showing label even for plot with one series.
--no-iter-color Stop iterating through different colors per plot.
-c, --consolidate Consolidate based on prefix.
-f, --follow Run in a loop to update display periodic.
-n secs, --interval secs
seconds to wait between updates
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
tensorboard-termplot-1.1.2.tar.gz
(10.1 kB
view hashes)
Built Distribution
Close
Hashes for tensorboard-termplot-1.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cd5be1eda41b63ab8958d9137ce2ccfeebe54ea56f1083a95300b55767f30ab |
|
MD5 | 01fe72cdbfeb4e882f7d29762165b076 |
|
BLAKE2b-256 | e3a3e93b32da1a9e2bb6b071ebb0d0cb5b39ba972f8ba59d8f9db58cb0d1ba43 |
Close
Hashes for tensorboard_termplot-1.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b95fb27fbcddfeeb7d9ec778821db9b019b8f0d9af7afd758ed945fe987dbb6 |
|
MD5 | 7dcd1f38d393595fa859da9743cee084 |
|
BLAKE2b-256 | 71f6b61c1a3929525301d66059cb72f60f68922a125299d14bb6cbae7e226037 |