Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
|
|
4 years ago | |
|---|---|---|
| .. | ||
| examples | 4 years ago | |
| include | 4 years ago | |
| java | 4 years ago | |
| micro | 4 years ago | |
| minddata | 4 years ago | |
| nnacl | 4 years ago | |
| schema | 4 years ago | |
| src | 4 years ago | |
| test | 4 years ago | |
| tools | 4 years ago | |
| CMakeLists.txt | 4 years ago | |
| README.md | 4 years ago | |
| README_CN.md | 4 years ago | |
MindSpore lite is a high-performance, lightweight open source reasoning framework that can be used to meet the needs of AI applications on mobile devices. MindSpore Lite focuses on how to deploy AI technology more effectively on devices. It has been integrated into HMS (Huawei Mobile Services) to provide inferences for applications such as image classification, object detection and OCR. MindSpore Lite will promote the development and enrichment of the AI software/hardware application ecosystem.
For more details please check out our MindSpore Lite Architecture Guide.
Cooperative work with MindSpore training
Lightweight
High-performance
Versatility
Model selection and personalized training
Select a new model or use an existing model for incremental training using labeled data. When designing a model for mobile device, it is necessary to consider the model size, accuracy and calculation amount.
The MindSpore team provides a series of pre-training models used for image classification, object detection. You can use these pre-trained models in your application.
The pre-trained model provided by MindSpore: Image Classification. More models will be provided in the feature.
MindSpore allows you to retrain pre-trained models to perform other tasks.
Model converter and optimization
If you use MindSpore or a third-party model, you need to use MindSpore Lite Model Converter Tool to convert the model into MindSpore Lite model. The MindSpore Lite model converter tool provides the converter of TensorFlow Lite, Caffe, ONNX to MindSpore Lite model, fusion and quantization could be introduced during convert procedure.
MindSpore also provides a tool to convert models running on IoT devices .
Model deployment
This stage mainly realizes model deployment, including model management, deployment, operation and maintenance monitoring, etc.
Inference
Load the model and perform inference. Inference is the process of running input data through the model to get output.
MindSpore provides pre-trained model that can be deployed on mobile device example.
We test a couple of networks on HUAWEI Mate40 (Hisilicon Kirin9000) mobile phone, and get the test results below for your reference.
| NetWork | Thread Number | Average Run Time(ms) |
|---|---|---|
| basic_squeezenet | 4 | 7.246 |
| inception_v3 | 4 | 36.767 |
| mobilenet_v1_10_224 | 4 | 5.187 |
| mobilenet_v2_10_224 | 4 | 4.153 |
| resnet_v2_50 | 4 | 25.071 |
MindSpore is a new open source deep learning training/inference framework that could be used for mobile, edge and cloud scenarios.
C++ Python Text Unity3D Asset C other