Overview of Migration Guide

View Source On Gitee

This migration guide contains the complete steps for migrating neural networks to MindSpore from other machine learning frameworks, mainly PyTorch.

Step 1
Step 2
Step 3
Step 4
Overview
migration process
Environmental Preparation
MindSpore Installation
AI Platform ModelArts
Model Analysis and Preparation
Reproducing algorithm,
analyzing API compliance
using MindSpore Dev Toolkit
and analyzing function compliance.
Network Constructing Comparison
Dataset
Aligning the process of
dataset loading,
augmentation and reading
Network Constructing
Aligning the network
Loss Function
Aligning the loss function
Learning Rate and Optimizer
Aligning the optimizer
and learning rate strategy
Gradient
Aligning the reverse
gradients
Training and Evaluation Process
Aligning the process of
training and evaluation
Debug and Tune
Function Debugging
Functional alignment
Precision Tuning
Precision alignment
Performance Tuning
Performance Alignment
A Migration Sample
The network migration
sample, taking ResNet50 as an example.
Reference
PyTorch and MindSpore API Mapping Table
Application Practice Guide for Network Migration Tool
FAQs