Skip to main content

TensorBoard Embedding Visualizer

DEMO

As the name suggests, this tool is made for visualizing high dimensional embeddings into 3D space using TensorBoard Projector tool. It performs PCA and also has an option for T-SNE for doing dimensionality reduction. All you have to do is provide you embeddings data and its corresponding labels and optionally images(paths) in pickle format as a dictionary. The structure of this dictionary is explained below.

Getting Started

Requirement

  • Python3
  • Tensorflow > 1.4

Install

Install this tool using pip with the following command.
pip install tbev
Upgrade to the latest version by using the --upgrade flag
This will be installed as a command line tool and you can simply run tbev in you command line to get started.

Usage

Usage:
    tbev demo 
    tbev <pickle_file> [--logdir=<path>]

Options:
    -h --h    Show help screen
    --logdir=<path>  Location to store log files [default: ./logs/]

tbev <pickle_file> [--logdir=

{
    "embedding":2D matrix of shape [m embeddings, n dimensions],
    "labels":{
        "label1": List of shape (m,), A label for each embedding,
        "label2": List of shape (m,), A label for each embedding,
        You can put as many labels as you want.
    },
    "sprite_paths":(Optional) List of shape (m,), A path to image to be shown in tensorboard.
}

Save this dictionary into a pickle file and use the command tbev <pickle_file> [--logdir=<path>]
This will create a ./logs folder by default where it will store the checkpoints file. You can optionally mention your own name for storing the logs using the --logdir option. If everything works out well. It will start the tensorboard server for you.

Tensorboard

After the Tensorboard is started, it will show you the local URL to view the tensorboard. By default it is localhost:6006.

Release files for tbev 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tbev 0.1.2
File Size Uploaded
tbev-0.1.2.tar.gz 52.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tbev 0.1.2
File Interpreter ABI Platform
tbev-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 109.6 kB

Release files / tbev-0.1.2.tar.gz

Download URL tbev-0.1.2.tar.gz
Size 52.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c82fa336a9982d9ef82ec2ebad3292ac44601539dbd0eca431600a2065191e4f
BLAKE2b-256 checksum
How to use checksums
9105f086c6b44a39b827e675706a67a84b7f73be951ed2ec5e88971f5fe4b623
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6

Release files / tbev-0.1.2-py3-none-any.whl

Download URL tbev-0.1.2-py3-none-any.whl
Size 56.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
599977b403d4f221a9595cc07af31c47c44a1c777355c8cd3149dcea147aa7fd
BLAKE2b-256 checksum
How to use checksums
13706323c2a96f64fdc349288b13d2af6ae390e9eddf4585158014af4fa81ab9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page