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

Issues with the classification demo #91

Closed
knmcguire opened this issue May 9, 2022 · 7 comments
Closed

Issues with the classification demo #91

knmcguire opened this issue May 9, 2022 · 7 comments
Labels
bug Something isn't working
Milestone

Comments

@knmcguire
Copy link
Contributor

Soon PR #89 will be merged but there are still issues with it though.

  • CPX message queue needed to be reduced from 80 to 5, or else the example stalls
  • Setting the fabric controller or cluster frequency higher made the example stall
  • CPX can only print one message.

This all still needs to be investigated

@knmcguire knmcguire added the bug Something isn't working label May 9, 2022
@aqqz
Copy link

aqqz commented May 25, 2022

Is the current ai example must run on the sdk4.7 version, I use the lastest 4.12 version can not run it, it seems memory problems.

@knmcguire
Copy link
Contributor Author

It's based on the bitcraze/aideck docker container, which is SDK 4.8. Interesting that there are issues with the latest SDK! That really means that this example is right on the border of what it can handle together with the bootloader and CPX.

Did you flash the example over air or with a programmer (so without the bootloader) ?

@aqqz
Copy link

aqqz commented May 25, 2022

Yes, I have not test the bootloader ways, test it on the jtag progarmmer.

@knmcguire
Copy link
Contributor Author

ah woow, then it really takes up a lot of memory then, even if I reduced the message queues. of cpx

I was planning to at one point try these networks : https://github.com/GreenWaves-Technologies/image_classification_networks and see which work with CPX. I won't have time for that for the next few weeks. Perhaps that is something you can already look at?

@eladpar-rnd
Copy link

I couldn't run the example on SDK 4.12 (as mentioned in closed issue)
but reverting to GAP SDK 4.8.0 solved the problem

in the mean time, i have finished compiling the example (got the img file)
but the flashing part dosnn't work:
Screenshot from 2022-08-14 15-22-57

Is it possible to get a few words on how to flash the GAP8 with the .img file via the JTAG?
@aqqz

@knmcguire
Copy link
Contributor Author

@eladpar-rnd Your followup questions is not related to this issue. Could you please post the question in Q&A of https://discussions.bitcraze.io/

@knmcguire
Copy link
Contributor Author

Just a comment, there has been a thought about cpx not being thread safe, so that it is actually not about the size of the networks. See this ticket: #100

@hmllr hmllr closed this as completed Feb 6, 2023
@knmcguire knmcguire added this to the next-release milestone Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants