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.2.0.tar.gz
(11.4 kB
view hashes)
Built Distribution
Close
Hashes for tensorboard-termplot-1.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35f8dc7c89cf49ba144049cf9e39fc43438003bfaf5d04222c252f4234d4712d |
|
MD5 | 72903a63f58a179650a6f2e6bae96ece |
|
BLAKE2b-256 | d9aac6dba78008afb9520152f3cc29f1a602f0a8cb852f9cc8330b5ab41149c2 |
Close
Hashes for tensorboard_termplot-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c23ead6cc1cc48507052ea2fcc5d523975b6caecd0000cde13d066b624735b1e |
|
MD5 | 1f4860762df3e4a7b8db87006490327c |
|
BLAKE2b-256 | 7fd30795566c080baaf788cbbe85636de820f2f89186b7432ae2448142354e47 |