ONNX Visualizer
This package help you visualize the ONNX model graph. Client-Server based architecture lets you share the model, using just a url instead of sharing the entire model.
Why not netron?
Netron is a viewer for neural network, deep learning and machine learning models. Netron also supports more formats than just ONNX.
But the problem with netron, you can't visualize the models in remote / virtual machines environments, where most of the time GUI is not given. So the only way is you need to download and run the netron locally or use the web app, where model parsing happens in the web browser, which is super slow.
This package parses the onnx model and serves only required data, using the server-client model, which is highly bandwidth effecient.
Usage
Install
pip install onnx-vis
Visualizing
Run the following command to visualize the model
python3 -m onnx_vis <path to the onnx file> -p <port to run the server>
Example:
python3 -m onnx_vis resnet18.onnx -p 63325
you can access the visualization on http://127.0.0.1:63325
TODO
- Make Visualization graph of ONNX Nodes
- Add node attributes like kernels shape, bias shape to node metadata
- Add Sidebar to get more detailed information about nodes
- Add search and span to node feature
Contribution & Issues
Contirbution of any kind PR's, Discussions etc. is very much appreciated :). If you face any issues feel free to open a issue.
Metadata
Release files for onnx-vis 1.0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| onnx_vis-1.0.11.tar.gz | 538.8 kB | Without provenance | Details for onnx_vis-1.0.11.tar.gz |
Release files / onnx_vis-1.0.11.tar.gz
| Download URL | onnx_vis-1.0.11.tar.gz |
|---|---|
| Size | 538.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b4e75efec634087b2954dd99cd451008c3e7e3261e585334bda23e5236c3bcc1
|
|
BLAKE2b-256 checksum How to use checksums |
905542391801f716c0ef324b88ce8971d54081371e13ed528d070fe4769c8eee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Security for onnx-vis 1.0.11
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.