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 Tuning
Aligning from three aspects: function, precision and performance
A Migration Sample
The network migration sample, taking ResNet50 as an example.
FAQs
Provides the frequently-asked questions and corresponding solutions in migration process.