Skip to main content

Chinese

TS-VIS(Tianshu Visualization) is a visualization tool kit of Tianshu AI Platform., which support visualization of the most popular deep learning frameworks, such as TensorFlow, PyTorch, OneFlow, etc.

Document (Chinese): https://feyily.github.io/tsvis-document/

HighLights

  • Framework-independent, support visualization of the most popular deep learning frameworks, such as TensorFlow, PyTorch, OneFlow, etc.
  • Faster response speed
  • Support the visualization of large-scale data
  • Support real-time visualization during training
  • Support embedding sample visualization
  • Support neural network exception visualization

Features

  • Graph: Visualize neural network structure, including computational graph and structure graph
  • Scalar: Visualize arbitrary scalar data including accuary and loss
  • Media: Visualize media data including images, text, and audio
  • Distribution: Visualize the distribution of weights, biases, etc. in neural network
  • Embedding: Visualize arbitrary high-dimensional data through dimensionality reduction algorithm
  • Hyperparameter: Visualize neural network indicators under different hyperparameters
  • Exception: Map neural network tensor data to two dimensions, visualize tensor data statistics
  • Custom: Move the charts in Scalar, Media, and Distribution to this module for comparison and viewing

Install

We provide two installation methods: install by pip and install from source. No matter which method you pick, you need to make sure that your Python version is 3.6 or higher, otherwise please upgrade Python first.

Install by pip

pip install tsvis

Install from source

TS-VIS adopts the architecture of separation of frontend and backend, so you need to build the frontend and backend separately

  • Build frontend from source:

    cd webapp
    

    Install dependencies first

    npm install
    

    Package frontend to generate static files

    npm run build
    
  • Build backend from source:

    To install the backend, you need to first move the static files generated by previous step to tsvis/server/frontend folder

    Then install the Python dependency package setuptools

    pip install setuptools
    

    Run setup.py to install TS-VIS to your Python environment

    python setup.py install
    

Run

After installation, you can run the following command. If the version information is output in the console, it means that you have installed TS-VIS correctly.

tsvis -v

Then you can run the visualization with the following command

tsvis --logdir path/to/logdir/

By default, the visualization service will start at http://127.0.0.1:9898, open the browser to access the visualization content.

Release files for tsvis 0.4.2

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

Built distribution (wheel)

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

Release files / tsvis-0.4.2-py3-none-any.whl

Download URL tsvis-0.4.2-py3-none-any.whl
Size 5.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
c881f991271e202048a6475a157f0cb8143a1a5a3f3ab9f197550df26a340fb6
BLAKE2b-256 checksum
How to use checksums
4bea6da74447f655852a160c5ae433a300b8ab9286436a00b0060e91674be361
Upload date
Uploaded using Trusted Publishing?
What is 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.2 CPython/3.7.11

Release history Release notifications | RSS feed

This release

0.4.2 This release

1 release file

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