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

[CMSIS-NN] Add Arm(R) Cortex(R)-M55 CPU and CMSIS-NN demo #11013

Merged
merged 2 commits into from
Apr 19, 2022

Conversation

grant-arm
Copy link
Contributor

@grant-arm grant-arm commented Apr 14, 2022

This PR adds a bare metal microTVM application that demonstrates compiling a model for Arm(R) Cortex(R)-M55 CPU and CMSIS-NN.

In particular, the demo:

  • Downloads a quantized (int8) person detection model
  • Uses tvmc to compile the model for Cortex(R)-M55 CPU and CMSIS-NN
  • Downloads an image to run the model on
  • Creates a C header file inputs.c containing the image data as a C array
  • Builds the demo application
  • Runs the demo application on the FVP
  • Application reports whether a person was detected e.g. "Person detected"

@Mousius @leandron @areusch @ashutosh-arm @manupa-arm

- Downloads a quantized (int8) person detection model
- Uses tvmc to compile the model for Cortex(R)-M55 CPU and CMSIS-NN
- Downloads an image to run the model on
- Creates a C header file inputs.c containing the image data as a C array
- Builds the demo application
- Runs the demo application on the FVP
- Application reports whether a person was detected e.g. "Person detected"

Change-Id: If58d02ed0c4d2a85c0100398f65e6915a86f6546
Copy link
Contributor

@NicolaLancellotti NicolaLancellotti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

apps/microtvm/cmsisnn/src/demo_bare_metal.c Outdated Show resolved Hide resolved
- Downloads a quantized (int8) person detection model
- Uses tvmc to compile the model for Cortex(R)-M55 CPU and CMSIS-NN
- Downloads an image to run the model on
- Creates a C header file inputs.c containing the image data as a C array
- Builds the demo application
- Runs the demo application on the FVP
- Application reports whether a person was detected e.g. "Person detected"

Change-Id: Ic20ceed80bc6e48d5c96ff0d5ca6c85e7f19174b
@areusch areusch merged commit 2025e36 into apache:main Apr 19, 2022
@areusch
Copy link
Contributor

areusch commented Apr 19, 2022

thanks @grant-arm !

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

Successfully merging this pull request may close these issues.

3 participants