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.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for aidge_model_explorer-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69362e4e00c9bd021438adbdb9e732337fb7e49c3e4273f3f043d3e72a6cca6d
MD5 dc5ab2707b39256dddbce8e223cd9d17
BLAKE2b-256 512735695102821670261d8d7e1b6ff3d73093fb3327697598c727da77d2b6cc

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