Classification Post-processing
Base class: ClassPostProcessBase
Supported Model Post-processing
Model Post-processing |
Description |
|---|---|
Resnet50PostProcess |
ResNet-50 post-processing. |
Constructor
Resnet50PostProcess(config_data, label_path)
Resnet50PostProcess(config_path, label_path)
Input Parameter Description of Resnet50PostProcess
Parameter |
Type |
Description |
|---|---|---|
config_data |
dict |
Configuration data |
label_path |
str |
Label path |
config_path |
str |
Configuration path |
Output Parameter Description of Resnet50PostProcess
Resnet50PostProcess object
Unified Post-processing Function
process(tensor)
Input Parameter Description of the Post-processing Function
Parameter |
Type |
Description |
|---|---|---|
tensor |
List[base.Tensor] |
Tensor list |
Output Parameter Description of the Post-processing Function
list[list[ClassInfo]]
Exception Throwing Interface
If the tensor fails to be passed and copied to the host, the runtime exception is thrown.
Parent topic: Post Modules