Why Is Error Code 17 Displayed During Model Inference?
Cause
The input data size is different from that required by the model. In this case, the model.infer API returns an error code, that is, the number 17 of the INT format.
Solution
Check whether the actual input matches the required model input, for example, the input format (YUV/RGB) and data type (float32/int8).
For the same image, the size of the YUV format is twice that of the RGB format. To convert an RGB image to a YUV image, call the hilens.cvt_color API. For details, see Converting the Image Color Format.
Algorithm Issues FAQs
- Why Is Error Code 17 Displayed During Model Inference?
- How Do I Use and Program the SDK or License of a Skill?
- Can a Huawei HiLens Skill Run on an Android or Arm Platform?
- What TensorFlow and Caffe Models Can Run on Huawei HiLens?
- Does Huawei HiLens Support Self-Developed Operators?
- What Language Does the Huawei HiLens Development Environment Support?
- Does HiLens Kit Provide an Interface that Converts a Color Image to a Grayscale Image?
- Why Does a Model with a High Accuracy Verified in ModelArts Perform Poorly on Test Datasets on HiLens Studio?
- How Do I Configure Python Dependencies for a Skill?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore