From da1e79af19e21ae565c13ce667b760dff24c0797 Mon Sep 17 00:00:00 2001 From: Zeyu Chen Date: Mon, 24 Feb 2020 21:55:58 +0800 Subject: [PATCH] move deploy demo to demo/mask_detection (#378) Move cpp deploy demo to demo/mask_detection --- demo/README.md | 3 +++ .../mask_detector => demo/mask_detection/cpp}/CMakeLists.txt | 0 .../mask_detection/cpp}/CMakeSettings.json | 0 .../demo/mask_detector => demo/mask_detection/cpp}/README.md | 0 .../mask_detection/cpp}/docs/linux_build.md | 0 .../mask_detection/cpp}/docs/windows_build.md | 0 .../mask_detector => demo/mask_detection/cpp}/export_model.py | 0 .../mask_detector => demo/mask_detection/cpp}/linux_build.sh | 0 {deploy/demo/mask_detector => demo/mask_detection/cpp}/main.cc | 0 .../mask_detector => demo/mask_detection/cpp}/mask_detector.cc | 0 .../mask_detector => demo/mask_detection/cpp}/mask_detector.h | 0 11 files changed, 3 insertions(+) rename {deploy/demo/mask_detector => demo/mask_detection/cpp}/CMakeLists.txt (100%) rename {deploy/demo/mask_detector => demo/mask_detection/cpp}/CMakeSettings.json (100%) rename {deploy/demo/mask_detector => demo/mask_detection/cpp}/README.md (100%) rename {deploy/demo/mask_detector => demo/mask_detection/cpp}/docs/linux_build.md (100%) rename {deploy/demo/mask_detector => demo/mask_detection/cpp}/docs/windows_build.md (100%) rename {deploy/demo/mask_detector => demo/mask_detection/cpp}/export_model.py (100%) rename {deploy/demo/mask_detector => demo/mask_detection/cpp}/linux_build.sh (100%) rename {deploy/demo/mask_detector => demo/mask_detection/cpp}/main.cc (100%) rename {deploy/demo/mask_detector => demo/mask_detection/cpp}/mask_detector.cc (100%) rename {deploy/demo/mask_detector => demo/mask_detection/cpp}/mask_detector.h (100%) diff --git a/demo/README.md b/demo/README.md index c58787ad..ddbe115e 100644 --- a/demo/README.md +++ b/demo/README.md @@ -2,6 +2,9 @@ 目前PaddleHub有以下任务示例: +* [图像分类](./mask_detection) + 提供了基于完整的口罩人脸检测及分类的模型搭建的完整的视频级别Demo,同时提供基于飞桨高性能预测库的C++和Python部署方案。 + * [图像分类](./image_classification) 该样例展示了PaddleHub如何将ResNet50、ResNet101、ResNet152、MobileNet、NasNet以及PNasNet作为预训练模型在Flowers、DogCat、Indoor67、Food101、StanfordDogs等数据集上进行图像分类的FineTune和预测。 diff --git a/deploy/demo/mask_detector/CMakeLists.txt b/demo/mask_detection/cpp/CMakeLists.txt similarity index 100% rename from deploy/demo/mask_detector/CMakeLists.txt rename to demo/mask_detection/cpp/CMakeLists.txt diff --git a/deploy/demo/mask_detector/CMakeSettings.json b/demo/mask_detection/cpp/CMakeSettings.json similarity index 100% rename from deploy/demo/mask_detector/CMakeSettings.json rename to demo/mask_detection/cpp/CMakeSettings.json diff --git a/deploy/demo/mask_detector/README.md b/demo/mask_detection/cpp/README.md similarity index 100% rename from deploy/demo/mask_detector/README.md rename to demo/mask_detection/cpp/README.md diff --git a/deploy/demo/mask_detector/docs/linux_build.md b/demo/mask_detection/cpp/docs/linux_build.md similarity index 100% rename from deploy/demo/mask_detector/docs/linux_build.md rename to demo/mask_detection/cpp/docs/linux_build.md diff --git a/deploy/demo/mask_detector/docs/windows_build.md b/demo/mask_detection/cpp/docs/windows_build.md similarity index 100% rename from deploy/demo/mask_detector/docs/windows_build.md rename to demo/mask_detection/cpp/docs/windows_build.md diff --git a/deploy/demo/mask_detector/export_model.py b/demo/mask_detection/cpp/export_model.py similarity index 100% rename from deploy/demo/mask_detector/export_model.py rename to demo/mask_detection/cpp/export_model.py diff --git a/deploy/demo/mask_detector/linux_build.sh b/demo/mask_detection/cpp/linux_build.sh similarity index 100% rename from deploy/demo/mask_detector/linux_build.sh rename to demo/mask_detection/cpp/linux_build.sh diff --git a/deploy/demo/mask_detector/main.cc b/demo/mask_detection/cpp/main.cc similarity index 100% rename from deploy/demo/mask_detector/main.cc rename to demo/mask_detection/cpp/main.cc diff --git a/deploy/demo/mask_detector/mask_detector.cc b/demo/mask_detection/cpp/mask_detector.cc similarity index 100% rename from deploy/demo/mask_detector/mask_detector.cc rename to demo/mask_detection/cpp/mask_detector.cc diff --git a/deploy/demo/mask_detector/mask_detector.h b/demo/mask_detection/cpp/mask_detector.h similarity index 100% rename from deploy/demo/mask_detector/mask_detector.h rename to demo/mask_detection/cpp/mask_detector.h -- GitLab