Skip to content

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!

- 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