# Overview of Migration Guide
[](https://gitee.com/mindspore/docs/blob/r2.4.1/docs/mindspore/source_en/migration_guide/overview.md)
This migration guide contains the complete steps for migrating neural networks to MindSpore from other machine learning frameworks, mainly PyTorch.
```{mermaid}
graph LR
A(Overview)-->B(migration process)
B-->|Step 1|E(Environmental Preparation)
E-.-text1(MindSpore Installation)
E-.-text2(AI Platform ModelArts)
B-->|Step 2|F(Model Analysis and Preparation)
F-.-text3(Reproducing algorithm, analyzing API compliance using MindSpore Dev Toolkit and analyzing function compliance.)
B-->|Step 3|G(Network Constructing Comparison)
G-->K(Dataset)
K-.-text4(Aligning the process of dataset loading, augmentation and reading)
G-->L(Network Constructing)
L-.-text5(Aligning the network)
G-->P(Loss Function)
P-.-text6(Aligning the loss function)
G-->M(Learning Rate and Optimizer)
M-.-text7(Aligning the optimizer and learning rate strategy)
G-->N(Gradient)
N-.-text8(Aligning the reverse gradients)
G-->O(Training and Evaluation Process)
O-.-text9(Aligning the process of training and evaluation)
B-->|Step 4|H(Function Debugging)
H-.-text10(Functional alignment)
B-->|Step 5|I(Precision Tuning)
I-.-text11(Precision alignment)
B-->|Step 6|J(Performance Tuning)
J-.-text12(Performance Alignment)
A-->C(A Migration Sample)
C-.-text13(The network migration sample, taking ResNet50 as an example.)
A-->D(FAQs)
D-.-text14(Provides the frequently-asked questions and corresponding solutions in migration process.)
click C "https://www.mindspore.cn/docs/en/r2.4.1/migration_guide/sample_code.html"
click D "https://www.mindspore.cn/docs/en/r2.4.1/migration_guide/faq.html"
click E "https://www.mindspore.cn/docs/en/r2.4.1/migration_guide/enveriment_preparation.html"
click F "https://www.mindspore.cn/docs/en/r2.4.1/migration_guide/analysis_and_preparation.html"
click G "https://www.mindspore.cn/docs/en/r2.4.1/migration_guide/model_development/model_development.html"
click H "https://www.mindspore.cn/docs/en/r2.4.1/migration_guide/debug_and_tune.html#function-debugging"
click I "https://www.mindspore.cn/docs/en/r2.4.1/migration_guide/debug_and_tune.html#precision-tuning"
click J "https://www.mindspore.cn/docs/en/r2.4.1/migration_guide/debug_and_tune.html#performance-tuning"
click K "https://www.mindspore.cn/docs/en/r2.4.1/migration_guide/model_development/dataset.html"
click L "https://www.mindspore.cn/docs/en/r2.4.1/migration_guide/model_development/model_and_cell.html"
click M "https://www.mindspore.cn/docs/en/r2.4.1/migration_guide/model_development/learning_rate_and_optimizer.html"
click N "https://www.mindspore.cn/docs/en/r2.4.1/migration_guide/model_development/gradient.html"
click O "https://www.mindspore.cn/docs/en/r2.4.1/migration_guide/model_development/training_and_evaluation.html"
click P "https://www.mindspore.cn/docs/en/r2.4.1/migration_guide/model_development/loss_function.html"
```