microsoft/MMdnn — 5.8k★ trên GitHub (Python). MMdnn is a set of tools to help users inter-operate among different deep learning frameworks. E.g. model conversion and visualization. Convert models between Caffe, Keras, MXNet, Tensorflow, CNTK, PyTorch Onnx and CoreML.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
MMdnn is a comprehensive and cross-framework tool to convert, visualize and diagnose deep learning (DL) models.
The "MM" stands for model management, and "dnn" is the acronym of deep neural network.
Major features include:
Model Conversion
We implement a universal converter to convert DL models between frameworks, which means you can train a model with one framework and deploy it with another.
Model Retraining
During the model conversion, we generate some code snippets to simplify later retraining or inference.
Model Search & Visualization
We provide a model collection to help you find some popular models.
We provide a model visualizer to display the network architecture more intuitively.
Model Deployment
We provide some guidelines to help you deploy DL models to another hardware platform.
Android
Serving
We provide a guide to help you accelerate inference with TensorRT.
TensorRT
Related Projects
Targeting at openness and advancing state-of-art technology, Microsoft Research (MSR) and Microsoft Software Technology Center (STC) had also released few other open source projects:
OpenPAI : an open source platform that provides complete AI model training and resource management capabilities, it is easy to extend and supports on-premise, cloud and hybrid environments in various scale.
FrameworkController : an open source general-purpose Kubernetes Pod Controller that orchestrate all kinds of applications on Kubernetes by a single controller.
NNI : a lightweight but powerful toolkit to help users automate Feature Engineering, Neural Architecture Search, Hyperparameter Tuning and Model Compression.
NeuronBlocks : an NLP deep learning modeling toolkit that helps engineers to build DNN models like playing Lego. The main goal of this toolkit is to minimize developing cost for NLP deep neural network model building, including both training and inference stages.
SPTAG : Space Partition Tree And Graph (SPTAG) is an open source library for large scale vector approximate nearest neighbor search scenario.
We encourage researchers, developers and students to leverage these projects to boost their AI / Deep Learning productivity.
Installation
Install manually
You can get a stable version of MMdnn by
pip install mmdnn
And make sure to have Python installed
or you can try the newest version by
MMdnn provides a docker image, which packages MMdnn and Deep Learning frameworks that we support as well as other dependencies.
You can easily try the image with the following steps:
Install Docker Community Edition(CE)
Learn more about how to install docker
Pull MMdnn docker image
docker pull mmdnn/mmdnn:cpu.small
Run image in an interactive mode
docker run -it mmdnn/mmdnn:cpu.small
Features
Model Conversion
Across the industry and academia, there are a number of existing frameworks available for developers and researchers to design a model, where each framework has its own network structure definition and saving model format. The gaps between frameworks impede the inter-operation of the models.
We provide a model converter to help developers convert models between frameworks through an intermediate representation format.
Support frameworks
[Note] You can click the links to get detailed README of each framework.
Caffe
Microsoft Cognitive Toolkit (CNTK)
CoreML
Keras
MXNet
ONNX (Destination only)
PyTorch
TensorFlow (Experimental) (We highly recommend you read the README of TensorFlow first)
DarkNet (Source only, Experiment)
Tested models
The model conversion between currently supported frameworks is tested on some ImageNet models.
Models
Caffe
Keras
TensorFlow
CNTK
MXNet
PyTorch
CoreML
ONNX
VGG 19
√
√
√
√
√
√
√
√
Inception V1
√
√
√
√
√
√
√
√
Inception V3
√
√
√
√
√
√
√
√
Inception V4
√
√
√
o
√
√
√
√
ResNet V1
×
√
√
o
√
√
√
√
ResNet V2
√
√
√
√
√
√
√
√
MobileNet V1
×
√
√
o
√
√
√
√
MobileNet V2
×
√
√
o
√
√
√
√
Xception
√
√
√
o
×
√
√
√
SqueezeNet
√
√
√
√
√
√
√
√
DenseNet
√
√
√
√
√
√
√
√
NASNet
x
√
√
o
√
√
√
x
ResNext
√
√
√
√
√
√
√
√
voc FCN
√
√
Yolo3
√
√
Usage
One command to achieve the conversion. Using TensorFlow ResNet V2 152 to PyTorch as our example.
We provide a local visualizer to display the network architecture of a deep learning model.
Please refer to the instruction.
Examples
Official Tutorial
Keras "inception V3" to CNTK and related issue
TensorFlow slim model "ResNet V2 152" to PyTorch
Mxnet model "LResNet50E-IR" to TensorFlow and related issue
Users' Examples
MXNet "ResNet-152-11k" to PyTorch
Another Example of MXNet "ResNet-152-11k" to PyTorch
MXNet "ResNeXt" to Keras
TensorFlow "ResNet-101" to PyTorch
TensorFlow "mnist mlp model" to CNTK
TensorFlow "Inception_v3" to MXNet
Caffe "voc-fcn" to TensorFlow
Caffe "AlexNet" to TensorFlow
Caffe "inception_v4" to TensorFlow
Caffe "VGG16_SOD" to TensorFlow
Caffe "SqueezeNet v1.1" to CNTK
Contributing
Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to and actually do, grant us
the rights to use your contribution. For details, visit https://cla.microsoft.com.
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide
a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions
provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct.
For more information see the Code of Conduct FAQ or
contact [email protected] with any additional questions or comments.
Intermediate Representation
The intermediate representation stores the network architecture in protobuf binary and pre-trained weights in NumPy native format.
[Note!] Currently the IR weights data is in NHWC (channel last) format.
Details are in ops.txt and graph.proto. New operators and any comments are welcome.
Frameworks
We are working on other frameworks conversion and visualization, such as PyTorch, CoreML and so on. We're investigating more RNN related operators. Any contributions and suggestions are welcome! Details in Contribution Guideline.
Authors
Yu Liu (Peking University): Project Developer & Maintainer
microsoft/MMdnn thuộc nhóm AI Tools trên TopGit, cùng 11 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về microsoft/MMdnn ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/microsoft/MMdnn là nguồn chính thức.
microsoft/MMdnn có bao nhiêu sao?
microsoft/MMdnn có 5.8k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/microsoft/MMdnn. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
microsoft/MMdnn có phải mã nguồn mở không?
Có — microsoft/MMdnn phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/microsoft/MMdnn.
microsoft/MMdnn còn đang phát triển không?
Commit gần nhất trên microsoft/MMdnn là 1.3 năm trước (theo timestamp GitHub). Repo có 952 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
microsoft/MMdnn dùng license gì?
microsoft/MMdnn phát hành theo license MIT. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
microsoft/MMdnn là gì?
microsoft/MMdnn (microsoft/MMdnn) là dự án Python trên GitHub. Theo mô tả gốc: MMdnn is a set of tools to help users inter-operate among different deep learning frameworks. E.g. model conversion and visualization. Convert models between Caffe, Keras, MXNet, Tensorflow, CNTK, PyTorch Onnx and CoreML.
microsoft/MMdnn viết bằng ngôn ngữ gì?
microsoft/MMdnn chủ yếu viết bằng Python. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
Vẫn đang phân vân về MMdnn?
Một cú bấm sẽ gửi câu hỏi kèm trang này cho AI — xem AI nói gì về MMdnn.