Help Center> ModelArts> Troubleshooting> Inference Deployment> Service Prediction> Error "DL.0105" Occurred During Real-Time Inference
Updated on 2023-06-21 GMT+08:00

Error "DL.0105" Occurred During Real-Time Inference

Symptom

Error "DL.0105" occurred during real-time inference. Error log: "TypeError: 'float' object is not subscriptable".

Possible Causes

According to the error logs, a float data record is accessed as an object subscript.

Solution

Change x[0][i] in the model inference code to x[i] and deploy the real-time inference service again.