Error Codes
Error Codes
| Error code | Description | Cause | Solution |
|---|---|---|---|
kStatusCodeLoadPluginFailed |
Failed to load inference plugin |
Required dependency files (e.g., |
Check the runtime dependencies, plugins, and deployment directory of Mech-DLK SDK and try again. If the loading still fails, contact Mech-Mind Technical Support. |
kStatusCodeModuleGraphNotInited |
Module Graph not initialized |
Inference or result retrieval proceeds even if the inference engine fails to create or the model package fails to load. |
Confirm that the inference engine has been created and the model package has been loaded successfully before performing inference. |
kStatusCodeUnsupportedBackendType |
Inference device type not supported |
The model package does not support the selected inference device type. Common cases include: General model packages for Text Detection and Text Recognition do not support GPU (default), while Fast Positioning model packages do not support GPU (optimization). |
Adjust the inference device type to the one supported by the model, and then perform inference after the model package is reloaded. |
kStatuscodeExecutionError |
Inference Execution Abnormality |
This can be caused by multiple reasons. Please locate the specific reasons according to the log information. |
Locate the specific problem based on the log and then perform inference again. |
kStatusCodeInvalidFilePath |
Invalid File Path |
The path is invalid, not present, or is inaccessible. |
Check if the file path is valid and accessible. |
kStatusCodeModelPackMd5Error |
Model Package MD5 Verification Failure |
Model package integrity verification failed. |
Obtain the model package again and verify the integrity of the file. |
kStatusCodeModelPackAccessError |
Model package access failed |
The model package file cannot be accessed. |
Check the file permissions, occupation status, and path validity. |
kStatusCodeModelPackUnzipFailed |
Model package decompression failed |
The contents of the model package are abnormal or the decompression process failed. |
Re-export or re-obtain the model package and try again. |
kStatusCodeUnsupportedModelType |
Model type not supported |
The current model type does not support inference from Mech-DLK SDK. |
Confirm the inference software supported by the current model package first, and then use the corresponding software for inference. |
kStatusCodeUnsupportedModelPackVersion |
Model package versions not supported |
The model package version is not compatible with the current Mech-DLK SDK. |
Use model packages exported from Mech-DLK 2.6.0 or above. |
kStatusCodeAuthorityTypeError |
Error in license type |
The software license type does not match the current function. |
Check and update the software license type. |
kStatusCodeAlgorithmAuthorityError |
Algorithm authorization error |
Not authorized for the corresponding algorithm module. |
Check and activate the corresponding algorithm module authorization. |
kStatusCodeExceedsModuleLimit |
Exceeded the maximum number of modules |
The number of modules loaded in the current inference engine exceeds the allowable range. |
Release the current inference engine and then reload the model package before performing inference. |