Help Center/ ModelArts/ Troubleshooting/ Inference Deployment/ Service Prediction/ Error MR.0105 Occurred in Real-Time Service Prediction
Updated on 2024-04-30 GMT+08:00

Error MR.0105 Occurred in Real-Time Service Prediction

Symptom

During the prediction in a running real-time service, error { "erno": "MR.0105", "msg": "Recognition failed","words_result": {}} occurred.

Figure 1 Prediction failed

Possible Causes

Locate the fault by analyzing the error log on the Logs tab of the real-time service details page.

Figure 2 Error log

According to the error log shown in the preceding figure, the prediction failure is caused by the model inference code.

Solution

According to the error log, mandatory parameters are missing in the append() method. To rectify the fault, modify the code in the model inference code file customize_service.py to transfer proper parameters to the append() method.

For details about how to edit the model inference code, see Specifications for Model Inference Coding.