From fc6fe708a2e8dd09f1633664ed6349ae3d16ec84 Mon Sep 17 00:00:00 2001 From: liuxiao78 Date: Sat, 12 Dec 2020 15:58:07 +0800 Subject: [PATCH 1/2] add scene detection model delete a line add model list --- docs/note/source_en/model_lite.rst | 3 ++- docs/note/source_en/object_detection_lite.md | 2 +- docs/note/source_en/scene_detection_lite.md | 19 +++++++++++++++++++ docs/note/source_zh_cn/model_lite.rst | 3 ++- .../source_zh_cn/object_detection_lite.md | 2 +- .../note/source_zh_cn/scene_detection_lite.md | 19 +++++++++++++++++++ 6 files changed, 44 insertions(+), 4 deletions(-) create mode 100644 docs/note/source_en/scene_detection_lite.md create mode 100644 docs/note/source_zh_cn/scene_detection_lite.md diff --git a/docs/note/source_en/model_lite.rst b/docs/note/source_en/model_lite.rst index bb6b04ac6f..dfda85904c 100644 --- a/docs/note/source_en/model_lite.rst +++ b/docs/note/source_en/model_lite.rst @@ -8,4 +8,5 @@ object_detection_lite posenet_lite image_segmentation_lite - style_transfer_lite \ No newline at end of file + style_transfer_lite + scene_detection \ No newline at end of file diff --git a/docs/note/source_en/object_detection_lite.md b/docs/note/source_en/object_detection_lite.md index 4d571b5955..a0c07e24a7 100644 --- a/docs/note/source_en/object_detection_lite.md +++ b/docs/note/source_en/object_detection_lite.md @@ -20,7 +20,7 @@ The following table shows the data of some object detection models using MindSpo > The performance of the table below is tested on the mate30. -| Model name | Size | mAP(IoU=0.50:0.95) | CPU 4 thread delay (ms) | +| Model name | Size(Mb) | mAP(IoU=0.50:0.95) | CPU 4 thread delay (ms) | |-----------------------| :----------: | :----------: | :-----------: | | [MobileNetv2-SSD](https://download.mindspore.cn/model_zoo/official/lite/ssd_mobilenetv2_lite/ssd.ms) | 16.7 | 0.22 | 25.4 | | [GhostNet-SSD](https://download.mindspore.cn/model_zoo/official/lite/ssd_ghostnet_lite/ssd.ms) | 25.7 | 0.24 | 24.1 | diff --git a/docs/note/source_en/scene_detection_lite.md b/docs/note/source_en/scene_detection_lite.md new file mode 100644 index 0000000000..0bd910475c --- /dev/null +++ b/docs/note/source_en/scene_detection_lite.md @@ -0,0 +1,19 @@ +# Scene Detection Model Support (Lite) + + + +## Scene dectectin introduction + +Scene detection can identify the type of scene in the device's camera. + +Using MindSpore Lite to implement scene detection [example](https://gitee.com/mindspore/mindspore/tree/master/model_zoo/official/lite/scene_detection). + +## Scene detection model list + +The following table shows the data of some scene detection models using MindSpore Lite inference. + +> The performance of the table below is tested on the P30. + +| Model name | Size(Mb) | Top1 | CPU 4 thread delay (ms) | +|-----------------------| :----------: | :----------: | :-----------: | +| [MobileNetv2](https://download.mindspore.cn/model_zoo/official/lite/mobilenetv2_openimage_lite/mobilenetv2.ms) | 11.3 | - | 11.5 | diff --git a/docs/note/source_zh_cn/model_lite.rst b/docs/note/source_zh_cn/model_lite.rst index 3a0b8a844a..5c4ea162be 100644 --- a/docs/note/source_zh_cn/model_lite.rst +++ b/docs/note/source_zh_cn/model_lite.rst @@ -8,4 +8,5 @@ object_detection_lite posenet_lite image_segmentation_lite - style_transfer_lite \ No newline at end of file + style_transfer_lite + scene_detection \ No newline at end of file diff --git a/docs/note/source_zh_cn/object_detection_lite.md b/docs/note/source_zh_cn/object_detection_lite.md index a39c84593f..df8116ba72 100644 --- a/docs/note/source_zh_cn/object_detection_lite.md +++ b/docs/note/source_zh_cn/object_detection_lite.md @@ -20,7 +20,7 @@ > 下表的性能是在mate30手机上测试的。 -| 模型名称 | 大小 | mAP(IoU=0.50:0.95) | CPU 4线程时延(ms) | +| 模型名称 | 大小(Mb) | mAP(IoU=0.50:0.95) | CPU 4线程时延(ms) | |-----------------------| :----------: | :----------: | :-----------: | | [MobileNetv2-SSD](https://download.mindspore.cn/model_zoo/official/lite/ssd_mobilenetv2_lite/ssd.ms) | 16.7 | 0.22 | 25.4 | | [GhostNet-SSD](https://download.mindspore.cn/model_zoo/official/lite/ssd_ghostnet_lite/ssd.ms) | 25.7 | 0.24 | 24.1 | diff --git a/docs/note/source_zh_cn/scene_detection_lite.md b/docs/note/source_zh_cn/scene_detection_lite.md new file mode 100644 index 0000000000..19b3d7db41 --- /dev/null +++ b/docs/note/source_zh_cn/scene_detection_lite.md @@ -0,0 +1,19 @@ +# 场景检测模型支持(Lite) + + + +## 场景检测介绍 + +场景检测可以识别设备摄像头中场景的类型。 + +使用MindSpore Lite实现场景检测的[示例代码](https://gitee.com/mindspore/mindspore/tree/master/model_zoo/official/lite/scene_detection)。 + +## 场景检测模型列表 + +下表是使用MindSpore Lite推理的部分场景检测模型的数据。 + +> 下表的性能是在P30手机上测试的。 + +| 模型名称 | 大小(Mb) | Top1 | CPU 4线程时延(ms) | +|-----------------------| :----------: | :----------: | :-----------: | +| [MobileNetv2](https://download.mindspore.cn/model_zoo/official/lite/mobilenetv2_openimage_lite/mobilenetv2.ms) | 11.3 | - | 11.5 | -- Gitee From bc8119ea94f05f79be15c180f0a6eb427577b5cc Mon Sep 17 00:00:00 2001 From: liuxiao78 Date: Tue, 15 Dec 2020 10:53:13 +0800 Subject: [PATCH 2/2] fix model name --- docs/note/source_en/model_lite.rst | 2 +- docs/note/source_zh_cn/model_lite.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/note/source_en/model_lite.rst b/docs/note/source_en/model_lite.rst index dfda85904c..2fa38b248c 100644 --- a/docs/note/source_en/model_lite.rst +++ b/docs/note/source_en/model_lite.rst @@ -9,4 +9,4 @@ posenet_lite image_segmentation_lite style_transfer_lite - scene_detection \ No newline at end of file + scene_detection_lite \ No newline at end of file diff --git a/docs/note/source_zh_cn/model_lite.rst b/docs/note/source_zh_cn/model_lite.rst index 5c4ea162be..f2be842d93 100644 --- a/docs/note/source_zh_cn/model_lite.rst +++ b/docs/note/source_zh_cn/model_lite.rst @@ -9,4 +9,4 @@ posenet_lite image_segmentation_lite style_transfer_lite - scene_detection \ No newline at end of file + scene_detection_lite \ No newline at end of file -- Gitee