From f7093b50fa769cd8667d49e6ce49dae1bc144723 Mon Sep 17 00:00:00 2001 From: Ting Wang Date: Thu, 28 May 2020 10:34:32 +0800 Subject: [PATCH] add MindConverter Tool Signed-off-by: Ting Wang --- tutorials/source_en/advanced_use/network_migration.md | 2 ++ tutorials/source_zh_cn/advanced_use/network_migration.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tutorials/source_en/advanced_use/network_migration.md b/tutorials/source_en/advanced_use/network_migration.md index 131e852c..d5c91ee3 100644 --- a/tutorials/source_en/advanced_use/network_migration.md +++ b/tutorials/source_en/advanced_use/network_migration.md @@ -57,6 +57,8 @@ Prepare the hardware environment, find a platform corresponding to your environm MindSpore differs from TensorFlow and PyTorch in the network structure. Before migration, you need to clearly understand the original script and information of each layer, such as shape. +> You can also use [MindConverter Tool](https://gitee.com/mindspore/mindinsight/tree/master/mindinsight/mindconverter) to automatically convert the PyTorch network definition script to MindSpore network definition script. + The ResNet-50 network migration and training on the Ascend 910 is used as an example. 1. Import MindSpore modules. diff --git a/tutorials/source_zh_cn/advanced_use/network_migration.md b/tutorials/source_zh_cn/advanced_use/network_migration.md index f1d8aa4f..b427c91d 100644 --- a/tutorials/source_zh_cn/advanced_use/network_migration.md +++ b/tutorials/source_zh_cn/advanced_use/network_migration.md @@ -55,6 +55,8 @@ MindSpore与TensorFlow、PyTorch在网络结构组织方式上,存在一定差别,迁移前需要对原脚本有较为清晰的了解,明确地知道每一层的shape等信息。 +> 你也可以使用[MindConverter工具](https://gitee.com/mindspore/mindinsight/tree/master/mindinsight/mindconverter)实现PyTorch网络定义脚本到MindSpore网络定义脚本的自动转换。 + 下面,我们以ResNet-50的迁移,并在Ascend 910上训练为例: 1. 导入MindSpore模块。 -- GitLab