model-explorer-onnx


Namemodel-explorer-onnx JSON
Version 0.3.1 PyPI version JSON
download
home_pageNone
SummaryAdapter for ai-edge-model-explorer to support ONNX models
upload_time2024-09-03 03:34:31
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseMIT License
keywords onnx model-explorer visualization
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Model Explorer ONNX Adapter

[![PyPI - Version](https://img.shields.io/pypi/v/model-explorer-onnx.svg)](https://pypi.org/project/model-explorer-onnx) [![PyPI - Downloads](https://img.shields.io/pypi/dm/model-explorer-onnx)](https://pypi.org/project/model-explorer-onnx) [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)

ONNX Adapter for [google-ai-edge/model-explorer](https://github.com/google-ai-edge/model-explorer)

## Installation

```bash
pip install --upgrade model-explorer-onnx
```

## Usage

```bash
model-explorer --extensions=model_explorer_onnx

# Or as a shortcut
onnxvis

# Supply model path
onnxvis model.onnx
```

> [!NOTE]
> Model Explorer only supports WSL on Windows.

Read more on the [Model Explorer User Guide](https://github.com/google-ai-edge/model-explorer/wiki/2.-User-Guide).

## Notes on representation

Graph input/output/initializers in ONNX are values (edges), not nodes. A node is displayed here for visualization. Graph inputs that are initialized by initializers are displayed as `InitializedInput`, and are displayed closer to nodes that use them.

## Color Themes

Get node color themes [here](./themes)

## Screenshots

<img width="1294" alt="image" src="https://github.com/justinchuby/model-explorer-onnx/assets/11205048/ed7e1eee-a693-48bd-811d-b384f784ef9b">

<img width="1291" alt="image" src="https://github.com/justinchuby/model-explorer-onnx/assets/11205048/b266d8e9-9760-4860-a0a7-eda1de31e1a1">

<img width="1285" alt="image" src="https://github.com/justinchuby/model-explorer-onnx/assets/11205048/b772aa13-4cc3-4034-a729-f134fa3cf818">

<img width="1292" alt="image" src="https://github.com/justinchuby/model-explorer-onnx/assets/11205048/dabbad76-0ec7-43b1-b253-13b81e7dc658">

<img width="1293" alt="image" src="https://github.com/justinchuby/model-explorer-onnx/assets/11205048/fbf2fa05-bd29-4938-93d1-709690d9f9c6">

<img width="1301" alt="image" src="https://github.com/justinchuby/model-explorer-onnx/assets/11205048/a68f7ecd-1fa1-4eac-9e1f-8e9a5bbf9fe3">

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "model-explorer-onnx",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "onnx, model-explorer, visualization",
    "author": null,
    "author_email": "Justin Chu <justinchu@microsoft.com>",
    "download_url": "https://files.pythonhosted.org/packages/dc/10/cb70a1607efd5293a44957b463c3c074366b1c81d9687a37a253276c4f03/model_explorer_onnx-0.3.1.tar.gz",
    "platform": null,
    "description": "# Model Explorer ONNX Adapter\n\n[![PyPI - Version](https://img.shields.io/pypi/v/model-explorer-onnx.svg)](https://pypi.org/project/model-explorer-onnx) [![PyPI - Downloads](https://img.shields.io/pypi/dm/model-explorer-onnx)](https://pypi.org/project/model-explorer-onnx) [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n\nONNX Adapter for [google-ai-edge/model-explorer](https://github.com/google-ai-edge/model-explorer)\n\n## Installation\n\n```bash\npip install --upgrade model-explorer-onnx\n```\n\n## Usage\n\n```bash\nmodel-explorer --extensions=model_explorer_onnx\n\n# Or as a shortcut\nonnxvis\n\n# Supply model path\nonnxvis model.onnx\n```\n\n> [!NOTE]\n> Model Explorer only supports WSL on Windows.\n\nRead more on the [Model Explorer User Guide](https://github.com/google-ai-edge/model-explorer/wiki/2.-User-Guide).\n\n## Notes on representation\n\nGraph input/output/initializers in ONNX are values (edges), not nodes. A node is displayed here for visualization. Graph inputs that are initialized by initializers are displayed as `InitializedInput`, and are displayed closer to nodes that use them.\n\n## Color Themes\n\nGet node color themes [here](./themes)\n\n## Screenshots\n\n<img width=\"1294\" alt=\"image\" src=\"https://github.com/justinchuby/model-explorer-onnx/assets/11205048/ed7e1eee-a693-48bd-811d-b384f784ef9b\">\n\n<img width=\"1291\" alt=\"image\" src=\"https://github.com/justinchuby/model-explorer-onnx/assets/11205048/b266d8e9-9760-4860-a0a7-eda1de31e1a1\">\n\n<img width=\"1285\" alt=\"image\" src=\"https://github.com/justinchuby/model-explorer-onnx/assets/11205048/b772aa13-4cc3-4034-a729-f134fa3cf818\">\n\n<img width=\"1292\" alt=\"image\" src=\"https://github.com/justinchuby/model-explorer-onnx/assets/11205048/dabbad76-0ec7-43b1-b253-13b81e7dc658\">\n\n<img width=\"1293\" alt=\"image\" src=\"https://github.com/justinchuby/model-explorer-onnx/assets/11205048/fbf2fa05-bd29-4938-93d1-709690d9f9c6\">\n\n<img width=\"1301\" alt=\"image\" src=\"https://github.com/justinchuby/model-explorer-onnx/assets/11205048/a68f7ecd-1fa1-4eac-9e1f-8e9a5bbf9fe3\">\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "Adapter for ai-edge-model-explorer to support ONNX models",
    "version": "0.3.1",
    "project_urls": {
        "Repository": "https://github.com/justinchuby/model-explorer-onnx"
    },
    "split_keywords": [
        "onnx",
        " model-explorer",
        " visualization"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d9eccbc0b35e1d36e099dc5798d5ed956920792dfc6342d29dc751fc6a0c9ac7",
                "md5": "b4ca6737ba8a5339aa390fcf9f8e189c",
                "sha256": "e5ba0f285d4ea20a0a6cf8123d611cb417006a340c19e5b6486bf4abe23d61e2"
            },
            "downloads": -1,
            "filename": "model_explorer_onnx-0.3.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b4ca6737ba8a5339aa390fcf9f8e189c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 9628,
            "upload_time": "2024-09-03T03:34:30",
            "upload_time_iso_8601": "2024-09-03T03:34:30.037903Z",
            "url": "https://files.pythonhosted.org/packages/d9/ec/cbc0b35e1d36e099dc5798d5ed956920792dfc6342d29dc751fc6a0c9ac7/model_explorer_onnx-0.3.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dc10cb70a1607efd5293a44957b463c3c074366b1c81d9687a37a253276c4f03",
                "md5": "f7a4a350f881cc7094108814b6f8e21f",
                "sha256": "155ab83793d120b02f6cf56a2dcbb2d455f9465e7b52fa050f8c8ded8f88d3b7"
            },
            "downloads": -1,
            "filename": "model_explorer_onnx-0.3.1.tar.gz",
            "has_sig": false,
            "md5_digest": "f7a4a350f881cc7094108814b6f8e21f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 9949,
            "upload_time": "2024-09-03T03:34:31",
            "upload_time_iso_8601": "2024-09-03T03:34:31.369699Z",
            "url": "https://files.pythonhosted.org/packages/dc/10/cb70a1607efd5293a44957b463c3c074366b1c81d9687a37a253276c4f03/model_explorer_onnx-0.3.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-03 03:34:31",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "justinchuby",
    "github_project": "model-explorer-onnx",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "model-explorer-onnx"
}
        
Elapsed time: 0.50481s