You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/source/design/concepts.md
+55Lines changed: 55 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -149,6 +149,61 @@ model = Model(net)
149
149
model.compile(metrics={"Accuracy": Accuracy())
150
150
```
151
151
152
+
### Pre-trained model loading (*hub*)
153
+
154
+
TinyMS Hub is a pre-trained model application tool, serving as a channel for model developers and application developers.
155
+
156
+
- Provide model developers with a convenient and fast channel for model release and submission.
157
+
- Provide application developers with high-quality pre-trained models, and complete the work of model migration to deployment quickly using model loading and fine-tuning APIs.
158
+
159
+
Current pre-trained models in TinyMS Hub mainly cover four mainstream task scenarios including `image classification`, `object detection`, `semantic segmentation`and`recommendation`.
160
+
161
+
There are several of scenarios for users to leverage `hub` to easily load the pre-trained model:
Model deployment refers to the process of servicing pre-trained models so that they can quickly and efficiently process data input by users and obtain results. MindSpore provides the [predict](https://mindspore.cn/doc/api_python/en/r1.2/_modules/mindspore/train/model.html#Model.predict) function for inference. TinyMS provides a complete set of start server (`start_server`), check backend (`list_servables`), check start status (`server_started`) and shut down the server (`shutdown`) and other functions based on [Flask](https://flask.palletsprojects.com/en/1.1.x/) ; Take the `LeNet5` network as an example:
0 commit comments