Deploy PaddlePaddle on Arm Cortex-M with Arm Virtual Hardware

Who is this for?

This is an introductory topic for software developers interested in using PaddlePaddle for Arm Cortex-M processors.

What will you learn?

Upon completion of this Learning Path, you will be able to:

  • Export Paddle inference model
  • Compile Paddle inference model with TVMC
  • Deploy on the AVH Corstone-300 platform with Arm Cortex-M55

Prerequisites

Before starting, you will need the following:

  • Some familiarity with embedded programming
  • Some familiarity with AI/ML software development
  • An Amazon Web Services(AWS) account to subscribe Arm Virtual Hardware Amazon Machine Image(AMI)

Summary

AI-assisted

This summary was drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

Close
?
You’ll export a PaddlePaddle OCR text recognition inference model, compile it with TVMC, and deploy the result to the Arm Corstone-300 Fixed Virtual Platform (FVP) with Cortex-M55 processors using Arm Virtual Hardware. Starting with a pre-trained PaddlePaddle model, you’ll produce a TVMC-compiled output for the target, and run the workload in a bare-metal environment on the FVP. Along the way, you’ll make the key export, compilation, and deployment choices required for Cortex-M, then validate the workflow by executing the model on the virtual platform.

Frequently asked questions

AI-assisted

These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

Close
?
Do I need to train an OCR model for this workflow?
No. The steps use a pre-trained PaddlePaddle model for text recognition, so you export and deploy the inference model without training.
What is exported from PaddlePaddle before compilation?
You’ll export a Paddle inference model that TVMC can compile.
Which target should I choose when running TVMC?
Compile the model for the Arm Corstone-300 Fixed Virtual Platform with Cortex-M55 processors. The workflow prepares an output intended for that target.
Where does the compiled model run?
It runs on the Corstone-300 FVP included with Arm Virtual Hardware. You’ll begin by launching the Arm Virtual Hardware Amazon Machine Image (AMI) on AWS.
Does this Learning Path cover text detection or only recognition?
The Learning Path focuses on text recognition, the stage after text detection that converts an image region into text. Text detection and model training are out of scope.
Next