From a2eae9ca976ea8074fcbe6e29a93db0d8dfd69b7 Mon Sep 17 00:00:00 2001 From: leiqing <54695910+leiqing1@users.noreply.github.com> Date: Thu, 22 Sep 2022 11:50:58 +0800 Subject: [PATCH] Update segmentation_result.md --- docs/docs_en/api/vision_results/segmentation_result.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs_en/api/vision_results/segmentation_result.md b/docs/docs_en/api/vision_results/segmentation_result.md index e5dff428d..c28f049d2 100644 --- a/docs/docs_en/api/vision_results/segmentation_result.md +++ b/docs/docs_en/api/vision_results/segmentation_result.md @@ -18,7 +18,7 @@ struct DetectionResult { ``` - **label_map**: Member variable that indicates the segmentation class for each pixel of a single image, and `label_map.size()` indicates the number of pixel points of the image -- **score_map**: Member variable that indicates the predicted probability value of the segmentation class corresponding to label_map (define `without_argmax` when exporting the model); or the probability value normalised by softmax (define `without_argmax` and `with_softmax` when exporting the model or define ` without_argmax` while setting the model [Class Member Attribute](../../../examples/vision/segmentation/paddleseg/cpp/)`with_softmax=True`) during initialization. +- **score_map**: Member variable that indicates the predicted probability value of the segmentation class corresponding to label_map (define `without_argmax` when exporting the model); or the probability value normalised by softmax (define `without_argmax` and `with_softmax` when exporting the model or define ` without_argmax` while setting the model [Class Member Attribute](../../../../examples/vision/segmentation/paddleseg/cpp/)`with_softmax=True`) during initialization. - **shape**: Member variable that indicates the shape of the output, e.g. (h,w) - **Clear()**: Member function that clears the results stored in a struct. - **Str()**: Member function that outputs the information in the struct as a string (for Debug) @@ -28,5 +28,5 @@ struct DetectionResult { `fastdeploy.vision.SegmentationResult` - **label_map**(list of int): Member variable that indicates the segmentation class for each pixel of a single image -- **score_map**(list of float): Member variable that indicates the predicted probability value of the segmentation class corresponding to label_map (define `without_argmax` when exporting the model); or the probability value normalised by softmax (define `without_argmax` and `with_softmax` when exporting the model or define `without_argmax` while setting the model [Class Member Attribute](../../../examples/vision/segmentation/paddleseg/cpp/)`with_softmax=True`) during initialization. +- **score_map**(list of float): Member variable that indicates the predicted probability value of the segmentation class corresponding to label_map (define `without_argmax` when exporting the model); or the probability value normalised by softmax (define `without_argmax` and `with_softmax` when exporting the model or define `without_argmax` while setting the model [Class Member Attribute](../../../../examples/vision/segmentation/paddleseg/cpp/)`with_softmax=True`) during initialization. - **shape**(list of int): Member variable that indicates the shape of the output, e.g. (h,w)