cancel
Showing results for 
Search instead for 
Did you mean: 

Neural network engineering built with CubeAI 7.10, and then initialized in MDK5 to error(type=33)

JZhou.6
Associate II

I built the LSTM network with keras 2.6.0 and generated the MDK project with CubeAI 7.10. However, in running the program AIInit() reported an error with an error type of 33.Do you know what the problem is? Thank you very much!0693W00000QLmlBQAT.png

8 REPLIES 8
Andrew Neil
Evangelist III

Doesn't the documentation of that function tell you what error codes it can return, and why?

Also try a 'Go To Definition' on AI_ERROR_NONE - there you should also find the definitions of other error codes ...

JZhou.6
Associate II

I looked at the meaning of the error type. This is (AI_ERROR_CREATE_FAILED), but there is no documentation telling me how to solve this problem. I wouldn't have this problem with CubeAI 6.0.If you know where to help documentation or workarounds, please let me know. Thank you very much!0693W00000QLsnhQAD.png

so now you can look at the source of that function, and see where that code is returned.

that'll tell you what it was trying to create; should also show why it failed.

JZhou.6
Associate II

I've been using GO TO define refe's method to locate the error. But when it comes to this API, it appears undefine.0693W00000QLsuiQAD.png

Try stepping into it, then.

JZhou.6
Associate II

0693W00000QLt4JQAT.png0693W00000QLt44QAD.pngI can't get into this function. But I found that the value of the (AI_NETWORK_DATA_CONFIG) parameter generated by CubeAI7.1 is NULL. This is also the input parameter of this function. Could it be a problem here. Do you have a reference document for reporting errors, thank you!

@JZhou.6​ "I can't get into this function"

How do you mean?

Are you sure that's the one returning the error?

"Do you have a reference document"

Here?

0693W00000QLtGtQAL.png

JZhou.6
Associate II

Thank you�?I have also checked a lot of documents, and I have not seen the error analysis.