TS-VIS is a Python module for deep learning visualization
Project description
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
andloss
- 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
, andDistribution
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
folderThen install the Python dependency package
setuptools
pip install setuptools
Run
setup.py
to install TS-VIS to your Python environmentpython 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.
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 Distributions
Built Distribution
File details
Details for the file tsvis-0.4.2-py3-none-any.whl
.
File metadata
- Download URL: tsvis-0.4.2-py3-none-any.whl
- Upload date:
- Size: 5.7 MB
- 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.2 CPython/3.7.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
c881f991271e202048a6475a157f0cb8143a1a5a3f3ab9f197550df26a340fb6
|
|
MD5 |
e6add897ea97faa5633f8b7695951e21
|
|
BLAKE2b-256 |
4bea6da74447f655852a160c5ae433a300b8ab9286436a00b0060e91674be361
|