Init
Function Usage
Initializes model post-processing.
Prototype
APP_ERROR Init(const std::string& configPath, const std::string& labelPath, MxBase::ModelDesc modelDesc) override;
Parameter Description
Parameter |
Input/Output |
Description |
|---|---|---|
configPath |
Input |
Configuration file path. |
labelPath |
Input |
Label file path. |
modelDesc |
Output |
Model description information. |
Return Parameter Description
Data Structure |
Description |
|---|---|
APP_ERROR |
Error code returned during program execution. For details, see the MxBase/ErrorCode/ErrorCode.h file. |
Parent topic: Resnet50PostProcessor