-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kpu_run_kmodel: Result of model too large? #133
Comments
Have you solved it? I have the same problem |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior
I compiled a .tflite model with ncc 1.0.0-fec915fb and try to run it on K210.
Unfortunately the model isn't running because the code fails with the following error message:
The summary of the compiled model is
The model is fitting in the SRAM and I can initialize it with
kpu_load_kmodel(&task, model_data_align)
without error.After that I try to run it with
kpu_run_kmodel(&task, g_ai_buf, DMAC_CHANNEL5, ai_done, NULL)
but this functions results in the error message.Test code
I attached the model (yolo.zip). I simply replaced the kmodel file in the 'kpu' example of kendryte-standalone-demo with my model.
At least the
kpu_run_kmodel
function should run without any errors, right? Or am I missing some limitation that I oversaw?Git Versions
kendryte-standalone-sdk:
02576ba
kendryte-standalone-demo:
e89c354
Hardware
I'm using a Maixduino with OV2640 camera and the default display.
The text was updated successfully, but these errors were encountered: