提交 ec43725f 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!172 Add MindConverter Tool for Network Migration

Merge pull request !172 from TingWang/add-mindconverter
...@@ -57,6 +57,8 @@ Prepare the hardware environment, find a platform corresponding to your environm ...@@ -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. 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. The ResNet-50 network migration and training on the Ascend 910 is used as an example.
1. Import MindSpore modules. 1. Import MindSpore modules.
......
...@@ -55,6 +55,8 @@ ...@@ -55,6 +55,8 @@
MindSpore与TensorFlow、PyTorch在网络结构组织方式上,存在一定差别,迁移前需要对原脚本有较为清晰的了解,明确地知道每一层的shape等信息。 MindSpore与TensorFlow、PyTorch在网络结构组织方式上,存在一定差别,迁移前需要对原脚本有较为清晰的了解,明确地知道每一层的shape等信息。
> 你也可以使用[MindConverter工具](https://gitee.com/mindspore/mindinsight/tree/master/mindinsight/mindconverter)实现PyTorch网络定义脚本到MindSpore网络定义脚本的自动转换。
下面,我们以ResNet-50的迁移,并在Ascend 910上训练为例: 下面,我们以ResNet-50的迁移,并在Ascend 910上训练为例:
1. 导入MindSpore模块。 1. 导入MindSpore模块。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册