Migrating From Third Party Frameworks With MindConverter

Overview

MindConverter is a migration tool to transform the model file of PyTorch(ONNX) or TensorFlow(PB) to MindSpore. The model file contains model structure definition(network) and weights information(weights), which will be transformed into model scripts(model.py) and weights file(ckpt) in MindSpore.

mindconverter-overview

Moreover, this tool is able to transform the model file of PyTorch to MindSpore by adding API(pytorch2mindspore) to original PyTorch scripts.

  • Due to the strategic adjustment, MindConverter will not evolve from 1.9.0 onwards. Please note that the official website documents and codes will be gradually taken off the shelves.

  • If you are interested in the MindConverter project, please move to version 1.7.0 (refer toMindConverter 1.7.0).

  • MindConverter currently only maintains version 1.6.0 and 1.7.0, and the follow-up maintenance work will also gradually incline to 1.7.0.