Skip to content
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

kendryte_face-detect-standalone example doesn't work. "model init error" #41

Open
prasad-dot-ws opened this issue Jun 24, 2020 · 2 comments

Comments

@prasad-dot-ws
Copy link

Your Question:

I tried to run the face detection example which comes with the Kendryte IDE package manager. It appears that the kmodel is not getting uploaded. It gives "model init error" in the serial output. I tried to burn the detect.kmodel into 0x00300000 address but it still didn't work. Any help would greatly be appreciated. Thanks in advance.

flash init
LCD init
DVP init
DVP interrupt config

model init error
@CVYang
Copy link

CVYang commented Jul 19, 2020

me too

@prasad-dot-ws
Copy link
Author

prasad-dot-ws commented Jul 25, 2020

@CVYang use this one https://github.com/kendryte/kendryte-freertos-demo/tree/develop/face_detect. This works fine. Just change LOAD_KMODEL_FROM_FLASH to 0 and change INCBIN(model, "../src/face_detect/detect.kmodel"); to INCBIN(model, "detect.kmodel"); in main.c.

If you keep LOAD_KMODEL_FROM_FLASH as 1, then you have to upload detect.kmodel to flash memory by yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants