Skip to content

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

Merged
areusch merged 2 commits into
apache:mainfrom
grant-arm:cmsis_nn_demo
Apr 19, 2022
Merged

[CMSIS-NN] Add Arm(R) Cortex(R)-M55 CPU and CMSIS-NN demo#11013
areusch merged 2 commits into
apache:mainfrom
grant-arm:cmsis_nn_demo

Conversation

@grant-arm

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

Copy link
Copy Markdown
Contributor

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

@NicolaLancellotti NicolaLancellotti left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

Comment thread apps/microtvm/cmsisnn/src/demo_bare_metal.c Outdated
- 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

areusch commented Apr 19, 2022

Copy link
Copy Markdown
Contributor

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