Object Detection Postprocessing
Base class: ObjectPostProcessBase
Supported Model Postprocessing
Model Postprocessing |
Description |
|---|---|
Yolov3PostProcess |
YOLOv3 postprocessing |
SsdMobilenetv1FpnPostProcess |
SsdMobilenetv1Fpn postprocessing |
SsdMobilenetFpnMindsporePost |
SsdMobilenetFpnMindSpore postprocessing |
Ssdvgg16PostProcess |
SsdVgg-16 postprocessing |
FasterRcnnPostProcess |
Faster R-CNN postprocessing |
MaskRcnnMindsporePost |
MaskRcnnMindspore postprocessing. |
Unified Constructor
postProcessName(config_data, label_path)
postProcessName(config_path, label_path)
Example: Yolov3PostProcess(config_data, label_path) or Yolov3PostProcess(config_path, label_path)
Input Parameter of the Constructor
Parameter |
Type |
Description |
|---|---|---|
config_data |
dict |
Configuration data |
label_path |
str |
Label path |
config_path |
str |
Configuration path |
Output Parameter of the Constructor
Corresponding postprocessing object
Unified Postprocessing Function
1 | process(tensor, params) |
1 | process(tensor, param) |
Input Parameter Description of the Postprocessing Function
Parameter |
Type |
Description |
|---|---|---|
tensor |
List[base.Tensor] |
Tensor list |
params |
List[base.ResizedImageInfo] |
ResizedImageInfo list |
param |
base.ResizedImageInfo |
ResizedImageInfo object |
Output Parameter Description of the Postprocessing Function
list[list[ObjectInfo]]
Exception Throwing Interface
If the tensor fails to be passed and copied to the host, a runtime exception is thrown.