Skip to main content

Aidge module for model explorer: https://github.com/google-ai-edge/model-explorer.

Project description

Aidge Model Adapter

Plugin of the framework Google Model Explorer to visualize Aidge graphs.

Examples

Visualize ONNX file

model-explorer aidge_mobilenetV2.onnx --extensions=aidge_model_explorer

Visualize wrapper method

Note: This function will automatically embed the visualization in a Jupyter Notebook cell if ran in a notebook, otherwise it will simply open a page in your browser.

import aidge_core
import aidge_model_explorer

lstm = aidge_core.LSTM(in_channels=4, hidden_channels=8, seq_length=5)
model = aidge_core.get_connected_graph_view(lstm)

aidge_model_explorer.visualize(model, "LSTM")

Visualize from config

import aidge_core
import aidge_model_explorer
import model_explorer


lstm = aidge_core.LSTM(in_channels=4, hidden_channels=8, seq_length=5)
lstm_model = aidge_core.get_connected_graph_view(lstm)

config = aidge_model_explorer.config()
config.add_graphview(lstm_model, "lstm")
model_explorer.visualize_from_config(config)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aidge_model_explorer-0.0.1-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file aidge_model_explorer-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for aidge_model_explorer-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3651dd57e0ebf72c481b1ba3c5447f521f47d3153178519084415613a2467b92
MD5 e33c29fc5b04547e86ebc680404e9006
BLAKE2b-256 5d1687740883d23e6b7561bb5446378b19efde2b8e892beae3b62280228c8477

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page