OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Developer Tools & SDKs

Mmdnn

Mmdnn is a Python toolset for converting, visualizing and diagnosing deep-learning models across frameworks. It converts models through an intermediate representation and includes a local visualizer for network architecture.

Independent OpenViST project profile, based on linked sources.

Mmdnn — OpenViST project profile in AI Developer Tools & SDKs.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Mmdnn when a model workflow crosses supported deep-learning frameworks or when you need to visualize a network locally. Check the specific framework direction and model guidance first, particularly for experimental or destination-only support.

Who it is for

  • Developers and researchers working with deep-learning models in different frameworks.
  • Teams considering model migration between supported frameworks.
  • Users who want a local view of a model's network architecture.

Documented uses

  • Convert a model from one supported framework to another.
  • Inspect a deep-learning model's network architecture with the local visualizer.
  • Use conversion-generated code snippets as a starting point for retraining or inference.
Before you choose

Requirements & limits

The public GitHub repository identifies an MIT license. The README documents installation through pip and a Docker image.

  • ONNX is listed as a destination only.
  • TensorFlow conversion is marked experimental; DarkNet is source-only and experimental.
  • The README reports testing on some ImageNet models, not universal support for all models.
  • The tool is distributed for local use through Python installation or Docker rather than presented as a hosted conversion service.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Install MMdnn with pip

Install MMdnn using the stable package or the repository’s master branch.

Before you start

  • Python installed.

Steps

  1. For the stable version, run the command below.

    Documented command
    pip install mmdnn
  2. Alternatively, to try the newest version, run the command below.

    Documented command
    pip install -U git+https://github.com/Microsoft/MMdnn.git@master
  3. For Docker setup instead, follow the repository’s Docker instructions: install Docker Community Edition, pull mmdnn/mmdnn:cpu.small, then start it interactively with the command below.

    Documented command
    docker run -it mmdnn/mmdnn:cpu.small

Expected outcome

MMdnn is installed through pip, or its CPU-small Docker image is running interactively.

Guide limitations

  • The README does not specify Python version requirements.
  • The documented Docker image is cpu.small; no other image variants are specified here.
Source-based practical guide

Convert the documented TensorFlow ResNet V2 152 model to PyTorch

Download the example TensorFlow ResNet V2 152 model and convert it to PyTorch format.

Before you start

  • MMdnn installed and its command-line tools available.
  • The example uses TensorFlow as the source framework and PyTorch as the destination.

Steps

  1. Download the model into the current directory with mmdownload -f tensorflow -n resnet_v2_152 -o ./.

  2. Convert it with mmconvert -sf tensorflow -in imagenet_resnet_v2_152.ckpt.meta -iw imagenet_resnet_v2_152.ckpt --dstNodeName MMdnn_Output -df pytorch -om tf_resnet_to_pth.pth.

Expected outcome

The documented conversion targets the PyTorch output file `tf_resnet_to_pth.pth`.

Guide limitations

  • The repository notes that TensorFlow support is experimental.
  • This example covers a specific ResNet V2 152 model and does not establish compatibility for every model.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
12 October 2026
Original website title
microsoft/MMdnn · Official homepage title · retained in its source language