STMicroelectronics – STM32 model zoo
Welcome to STM32 model zoo!
🎉 We are excited to announce that the STM32 AI model zoo now includes comprehensive PyTorch support, joining TensorFlow and ONNX.
It now features a vast library of PyTorch models, all seamlessly integrated with our end-to-end workflows. Whether you want to train, evaluate, quantize, benchmark, or deploy, you’ll find everything you need – plus the flexibility to choose between PyTorch, TensorFlow, and ONNX. Dive into the expanded STM32 model zoo and take your AI projects further than ever on STM32 devices.
The STM32 AI model zoo is a collection of reference machine learning models that are optimized to run on STM32
microcontrollers.
Available on GitHub, this is a valuable resource for anyone looking to add AI capabilities to their STM32-based
projects.
- A large collection of application-oriented models ready for re-training
- Pre-trained models on reference datasets, available across several frameworks.
Scripts to easily retrain, quantize, evaluate or benchmark any model from user datasets as well as application code examples automatically generated from user AI model can be found in the stm32ai-modelzoo-services GitHub
These models can be useful for quick deployment if you are interested in the categories that they were trained. We also provide training scripts to do transfer learning or to train your own model from scratch on your custom dataset.
Performance metrics on reference STM32 MCU, NPU, and MPU are provided for both float and quantized models.
What’s new in releases :
4.1:
- Support of STEdgeAI Core v4.0.0.
- Updated Audio Event Detection (AED) to support deployment on STM32U3.
- Added support for the YOLO26 model.
- Multiple bug fixes and overall quality improvements.
4.0:
- Major PyTorch support for Image Classification (IC) and Object Detection (OD)
- Support of STEdgeAI Core v4.0.0
- New training and evaluation scripts for PyTorch models
- Expanded model selection and improved documentation
- Unified workflow for TensorFlow and PyTorch
- Performance and usability improvements
- New use cases: Face Detection (FD), Arc Fault Detection (AFD), Re-Identification (ReID)
- New mixed precision models (Weights 4-bits, Activations 8-bits) for IC and OD use cases
- Support for Keras 3.8.0, TensorFlow 2.18.0, PyTorch 2.7.1, and ONNX 1.16.1
- Python software architecture rework
- Docker-based setup available, with a ready-to-use image including the full software stack.
3.2:
- Support for STEdgeAI Core v2.2.0 (STM32Cube.AI v10.2.0).
- Support of X-Linux-AI v6.1.0 support for MPU.
- New use cases added: StyleTransfer and FastDepth.
- New models added: Face Detection, available in the Object Detection use case, and Face Landmarks, available in the Pose Estimation use case.
- Architecture and codebase clean-up.
3.1:
- Included additional models support (yolov11n, st_yoloxn variants)
3.0:
- Included additional models compatible with the STM32N6570-DK board.
- Expanded models in all use cases.
- Expanded use case support to include Instance Segmentation and Speech Enhancement.
- Added
Pytorch support through the speech enhancement Use Case.
- Model Zoo hosted on Hugging Face
2.1:
- Included additional models compatible with the STM32MP257F-EV1 board.
- Expanded use case support to include Pose Estimation and Semantic Segmentation.
2.0:
- An aligned and uniform architecture for all the use case
Find below a summary of available use cases
• Training: Train machine learning models.
• Evaluation: Evaluate the performance of models.
• Benchmarking: Benchmark your model using ST Edge AI Developer Cloud
• Visualization: Visualize model performance and metrics.
• User Configuration Update: Update and modify user configurations directly from the dashboard.
• Output Download: Download model results and outputs.
Once downloaded and installed, set up Git LFS for your user account by running the following command:
In order to use the config files examples from the modelzoo-services, without the need to change the model_path, it is needed to clone the modelzoo below in the same folder as the modelzoo services.
评论