Error Codes

Normal Status Codes

Status code Description

SUCCESS

The operation is successful.

I_CONVERTING

The model package is being converted.

I_LOADING

The model package is being loaded.

Error Codes

Error code Description Cause Solution

E_UNKNOWN

Unknown error.

Contact Mech-Mind Technical Support.

E_INIT_FAILED

Inference engine initialization failed.

The system memory is insufficient or the system has encountered an error.

Free up some memory or restart the device.

E_INVALID_MODEL_PATH

Invalid model package path.

The model package path is incorrect or does not exist.

Specify a valid model package path.

E_INVALID_MODEL_PACK

Invalid model package.

The model package is corrupted.

Export the model package again in Mech-DLK.

E_INVALID_MODEL_VERSION

Error in model package version.

Use a model package of the correct version.

E_CONVERT_FAILED

Model package conversion failed.

The GPU memory is insufficient.

Free up some GPU memory before converting the model package.

E_CONVERT_WITHOUT_INIT

Model package not initialized before conversion.

Initialize the model package before converting it.

E_UNSUPPORTED_BACKEND

Backend unsupported.

Use a specified inference backend.

E_LOAD_FAILED

Model package loading failed.

The GPU memory is insufficient.

Free up some GPU memory before loading the model package.

E_LOAD_WITHOUT_CONVERT

Model package not converted before loading.

The model package with the GpuOptimization backend type is not converted before loading.

Convert the model package before loading it.

E_LOAD_WITHOUT_INIT

Model package not initialized before loading.

Initialize the model package before loading it.

E_INFER_WITHOUT_LOAD

Model package not loaded before inference.

Load the model package before using it for inference.

E_OUT_OF_HOST_MEMORY

Insufficient memory.

Free up some memory.

E_OUT_OF_DEVICE_MEMORY

Insufficient GPU memory.

Free up some GPU memory.

E_INFER_FAILED

Model inference failed.

An error occurred in the inference backend.

Check the GPU memory or memory usage of the device.

E_INVALID_IMAGE_PATH

Invalid image path.

Specify a valid image path.

E_INVALID_IMAGE_NULLPTR

Invalid image file.

Check if the image file is corrupted.

E_MODEL_REGISTEXCEEDLIMIT

Model quantity limit exceeded.

A maximum of 32 models can be used.

E_MODULE_INDEX_ERROR

Error in model index.

Check for index errors during model configuration or while retrieving results.

E_MODULE_TYPE_ERROR

Error in model type.

Check if the called function matches the model package type.

E_SET_GPUID_ERROR

Invalid GPU ID.

Specify the correct GPU ID.

E_INVALID_ENGINE

Inference engine creation failed.

The system memory is insufficient or the system has encountered an error.

Free up some memory.

E_INVALID_BACKEND_TYPE

Error in inference backend type.

The inference backend is set to GPU when performing inference on a device without a GPU.

Change the inference backend to CPU, or use a device with a GPU for inference.

E_INVALID_ALGO_TYPE

Error in algorithm type.

A function that does not belong to this algorithm is called.

Check if the called function matches the model package type.

E_PARAM_ERROR

Error in parameters.

When using the setUnsupSegParam function, the value of the defectThreshold parameter must be greater than the value of the nonDefectThreshold parameter.

Modify the parameter settings as required.

E_AUTHOR_TYPE_ERROR

Error in authorization type.

The software license is not obtained, or the current license version does not support Mech-DLK SDK.

Contact Mech-Mind sales team to obtain the software license for Pro-Run or Pro-Train, and then activate or update the license.

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.