Skip to main content

Terminal-plot for Tensorboard

pypi python-version Master Update Code style: black License

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

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.3.2.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tensorboard_termplot-1.3.2-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file tensorboard-termplot-1.3.2.tar.gz.

File metadata

  • Download URL: tensorboard-termplot-1.3.2.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for tensorboard-termplot-1.3.2.tar.gz
Algorithm Hash digest
SHA256 5a73b0ee37c22f5326283b492d93aaab705b09ee4d8d7ae908dace7fc6bdb852
MD5 85b12eeb0b06799c31c1451d3b88cb92
BLAKE2b-256 f3fdb1c720028601c187ffdfb63ea4ec609231be0583a5a8349d352a9a2391ef

See more details on using hashes here.

File details

Details for the file tensorboard_termplot-1.3.2-py3-none-any.whl.

File metadata

  • Download URL: tensorboard_termplot-1.3.2-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for tensorboard_termplot-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 818c19513a19f8a0a7f9319cfc7ae7f3be099a1f590a32a0e7a3a3bf1b023114
MD5 fdd6645ef7d8dd0dd952f5b7a6521677
BLAKE2b-256 2f26dc1e17d07b74627a32642154a60f85e731851f66eaff47c04f419fb13526

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.3.2 This release

2 files

1.3.1

2 files

1.3.0

2 files

1.2.0

2 files

1.1.6

2 files

1.1.5

2 files

1.1.4

2 files

1.1.3

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.4

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page