onnx-vis


Nameonnx-vis JSON
Version 1.0.11 PyPI version JSON
download
home_pagehttps://github.com/sleepingsaint/onnx_visualizer
SummaryThis 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.
upload_time2023-04-14 17:04:22
maintainer
docs_urlNone
authorsleepingsaint
requires_python
licenseMIT
keywords example documentation tutorial
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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](https://github.com/lutzroeder/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
``` bash
python3 -m onnx_vis <path to the onnx file> -p <port to run the server>

```

Example:

```bash
 python3 -m onnx_vis resnet18.onnx -p 63325
```
you can access the visualization on http://127.0.0.1:63325


## TODO

- [x] 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. 


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/sleepingsaint/onnx_visualizer",
    "name": "onnx-vis",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "example documentation tutorial",
    "author": "sleepingsaint",
    "author_email": "suryasantosh14523@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/90/55/42391801f716c0ef324b88ce8971d54081371e13ed528d070fe4769c8eee/onnx_vis-1.0.11.tar.gz",
    "platform": null,
    "description": "# ONNX Visualizer\n\nThis 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.\n\n### Why not netron?\n\n[Netron](https://github.com/lutzroeder/netron) is a viewer for neural network, deep learning and machine learning models. Netron also supports more formats than just ONNX. \n\nBut 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.\n\nThis package parses the onnx model and serves only required data, using the server-client model, which is highly bandwidth effecient.\n\n## Usage\n\n### Install\n\n```\npip install onnx-vis\n```\n\n### Visualizing\n\nRun the following command to visualize the model\n``` bash\npython3 -m onnx_vis <path to the onnx file> -p <port to run the server>\n\n```\n\nExample:\n\n```bash\n python3 -m onnx_vis resnet18.onnx -p 63325\n```\nyou can access the visualization on http://127.0.0.1:63325\n\n\n## TODO\n\n- [x] Make Visualization graph of ONNX Nodes\n- [ ] Add node attributes like kernels shape, bias shape to node metadata\n- [ ] Add Sidebar to get more detailed information about nodes\n- [ ] Add search and span to node feature\n\n## Contribution & Issues\nContirbution of any kind PR's, Discussions etc. is very much appreciated :). If you face any issues feel free to open a issue. \n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "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.",
    "version": "1.0.11",
    "split_keywords": [
        "example",
        "documentation",
        "tutorial"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "905542391801f716c0ef324b88ce8971d54081371e13ed528d070fe4769c8eee",
                "md5": "409053ff51c60ca859dd1694784566fe",
                "sha256": "b4e75efec634087b2954dd99cd451008c3e7e3261e585334bda23e5236c3bcc1"
            },
            "downloads": -1,
            "filename": "onnx_vis-1.0.11.tar.gz",
            "has_sig": false,
            "md5_digest": "409053ff51c60ca859dd1694784566fe",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 538847,
            "upload_time": "2023-04-14T17:04:22",
            "upload_time_iso_8601": "2023-04-14T17:04:22.871265Z",
            "url": "https://files.pythonhosted.org/packages/90/55/42391801f716c0ef324b88ce8971d54081371e13ed528d070fe4769c8eee/onnx_vis-1.0.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-14 17:04:22",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "sleepingsaint",
    "github_project": "onnx_visualizer",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "onnx-vis"
}
        
Elapsed time: 0.06024s