From d9f3d9c6721f7eb7e615ebbbc6e79dd69b0013e8 Mon Sep 17 00:00:00 2001 From: Guanghua Yu <742925032@qq.com> Date: Wed, 31 Mar 2021 09:48:11 +0800 Subject: [PATCH] fix christmas app bug (#2474) --- static/application/christmas/README.md | 3 ++- static/application/christmas/element_source/background/1.json | 1 + static/application/christmas/element_source/background/2.json | 1 + static/application/christmas/element_source/background/3.json | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 static/application/christmas/element_source/background/1.json create mode 100644 static/application/christmas/element_source/background/2.json create mode 100644 static/application/christmas/element_source/background/3.json diff --git a/static/application/christmas/README.md b/static/application/christmas/README.md index aab199bf6..1500544d9 100644 --- a/static/application/christmas/README.md +++ b/static/application/christmas/README.md @@ -17,8 +17,9 @@ - 首先要获取模型,可在[模型配置文件](../../configs)里配置`solov2`与`blazeface_keypoint`,训练模型,并[导出模型](../../docs/advanced_tutorials/deploy/EXPORT_MODEL.md)。也可直接下载我们准备好模型: [blazeface_keypoint模型](https://paddlemodels.bj.bcebos.com/object_detection/application/blazeface_keypoint.tar)和 [solov2模型](https://paddlemodels.bj.bcebos.com/object_detection/application/solov2_r101_vd_fpn_3x.tar)。 +**注意:** 下载的模型需要解压后使用。 -- 然后将模型分别拷贝至`blazeface/blazeface_keypoint/` 和 `solov2/solov2_r101_vd_fpn_3x/`文件夹内。 +- 然后将两个模型文件夹中的文件(`infer_cfg.yml`、`__model__`和`__params__`)分别拷贝至`blazeface/blazeface_keypoint/` 和 `solov2/solov2_r101_vd_fpn_3x/`文件夹内。 ### hub安装blazeface和solov2模型 diff --git a/static/application/christmas/element_source/background/1.json b/static/application/christmas/element_source/background/1.json new file mode 100644 index 000000000..5e9b4d9a3 --- /dev/null +++ b/static/application/christmas/element_source/background/1.json @@ -0,0 +1 @@ +{"path":"/Users/yuzhiliang/Downloads/docsmall-2/12.png","outputs":{"object":[{"name":"local","bndbox":{"xmin":282,"ymin":366,"xmax":3451,"ymax":4603}}]},"time_labeled":1608631688933,"labeled":true,"size":{"width":3714,"height":5725,"depth":3}} \ No newline at end of file diff --git a/static/application/christmas/element_source/background/2.json b/static/application/christmas/element_source/background/2.json new file mode 100644 index 000000000..4bb6ebbc1 --- /dev/null +++ b/static/application/christmas/element_source/background/2.json @@ -0,0 +1 @@ +{"path":"/Users/yuzhiliang/Downloads/docsmall-2/2.png","outputs":{"object":[{"name":"local","bndbox":{"xmin":336,"ymin":512,"xmax":3416,"ymax":4672}}]},"time_labeled":1608631696021,"labeled":true,"size":{"width":3714,"height":5275,"depth":3}} \ No newline at end of file diff --git a/static/application/christmas/element_source/background/3.json b/static/application/christmas/element_source/background/3.json new file mode 100644 index 000000000..df28a39f1 --- /dev/null +++ b/static/application/christmas/element_source/background/3.json @@ -0,0 +1 @@ +{"path":"/Users/yuzhiliang/Downloads/docsmall-2/3.png","outputs":{"object":[{"name":"local","bndbox":{"xmin":376,"ymin":352,"xmax":3448,"ymax":4544}}]},"time_labeled":1608631701740,"labeled":true,"size":{"width":3714,"height":5275,"depth":3}} \ No newline at end of file -- GitLab