From 7ce3da6556e84cf78e9ec5b907aaaa23c7b2cda4 Mon Sep 17 00:00:00 2001 From: WJJ1995 Date: Tue, 22 Nov 2022 19:59:18 +0800 Subject: [PATCH] [Doc] Add Preprocessor&&Postprocessor API (#665) * add onnx_ort_runtime demo * rm in requirements * support batch eval * fixed MattingResults bug * move assignment for DetectionResult * integrated x2paddle * add model convert readme * update readme * re-lint * add processor api --- docs/api_docs/python/image_classification.md | 16 +++++++ docs/api_docs/python/object_detection.md | 48 ++++++++++++++++++++ 2 files changed, 64 insertions(+) mode change 100644 => 100755 docs/api_docs/python/object_detection.md diff --git a/docs/api_docs/python/image_classification.md b/docs/api_docs/python/image_classification.md index 6b18f5c09..46fc09a50 100755 --- a/docs/api_docs/python/image_classification.md +++ b/docs/api_docs/python/image_classification.md @@ -1,5 +1,21 @@ # Image Classification(图像分类) +## fastdeploy.vision.classification.PaddleClasPreprocessor + +```{eval-rst} +.. autoclass:: fastdeploy.vision.classification.PaddleClasPreprocessor + :members: + :inherited-members: +``` + +## fastdeploy.vision.classification.PaddleClasPostprocessor + +```{eval-rst} +.. autoclass:: fastdeploy.vision.classification.PaddleClasPostprocessor + :members: + :inherited-members: +``` + ## fastdeploy.vision.classification.PaddleClasModel ```{eval-rst} diff --git a/docs/api_docs/python/object_detection.md b/docs/api_docs/python/object_detection.md old mode 100644 new mode 100755 index efe7b5923..998ae1396 --- a/docs/api_docs/python/object_detection.md +++ b/docs/api_docs/python/object_detection.md @@ -1,5 +1,21 @@ # Object Detection(目标检测) +## fastdeploy.vision.detection.PaddleDetPreprocessor + +```{eval-rst} +.. autoclass:: fastdeploy.vision.detection.PaddleDetPreprocessor + :members: + :inherited-members: +``` + +## fastdeploy.vision.detection.PaddleDetPostprocessor + +```{eval-rst} +.. autoclass:: fastdeploy.vision.detection.PaddleDetPostprocessor + :members: + :inherited-members: +``` + ## fastdeploy.vision.detection.PPYOLOE ```{eval-rst} @@ -80,6 +96,22 @@ :inherited-members: ``` +## fastdeploy.vision.detection.YOLOv5Preprocessor + +```{eval-rst} +.. autoclass:: fastdeploy.vision.detection.YOLOv5Preprocessor + :members: + :inherited-members: +``` + +## fastdeploy.vision.detection.YOLOv5Postprocessor + +```{eval-rst} +.. autoclass:: fastdeploy.vision.detection.YOLOv5Postprocessor + :members: + :inherited-members: +``` + ## fastdeploy.vision.detection.YOLOv5 ```{eval-rst} @@ -104,6 +136,22 @@ :inherited-members: ``` +## fastdeploy.vision.detection.YOLOv7Preprocessor + +```{eval-rst} +.. autoclass:: fastdeploy.vision.detection.YOLOv7Preprocessor + :members: + :inherited-members: +``` + +## fastdeploy.vision.detection.YOLOv7Postprocessor + +```{eval-rst} +.. autoclass:: fastdeploy.vision.detection.YOLOv7Postprocessor + :members: + :inherited-members: +``` + ## fastdeploy.vision.detection.YOLOv7 ```{eval-rst}