Base class: ClassPostProcessBase
Model Postprocessing |
Description |
|---|---|
Resnet50PostProcess |
ResNet-50 postprocessing. |
1 | Resnet50PostProcess(config_data, label_path) |
1 | Resnet50PostProcess(config_path, label_path) |
Parameter |
Type |
Description |
|---|---|---|
config_data |
dict |
Configuration data |
label_path |
str |
Label path |
config_path |
str |
Configuration path |
Resnet50PostProcess object
1 | process(tensor) |
Parameter |
Type |
Description |
|---|---|---|
tensor |
List[base.Tensor] |
Tensor list |
list[list[ClassInfo]]
If the tensor fails to be passed and copied to the host, a runtime exception is thrown.