|
STM32N6 NPU Deployment — Politecnico di Milano
1.0
Documentation for Neural Network Deployment on STM32N6 NPU - Politecnico di Milano 2024-2025
|
Main entry point for the STM32AI Model Zoo Services pipeline for pose estimation. More...
Go to the source code of this file.
Namespaces | |
| stm32ai_main | |
Functions | |
| None | stm32ai_main.chain_qd (DictConfig cfg=None, str float_model_path=None, tf.data.Dataset train_ds=None, tf.data.Dataset quantization_ds=None) |
| None | stm32ai_main.chain_eqeb (DictConfig cfg=None, str float_model_path=None, tf.data.Dataset train_ds=None, tf.data.Dataset valid_ds=None, tf.data.Dataset quantization_ds=None, tf.data.Dataset test_ds=None) |
| None | stm32ai_main.chain_qb (DictConfig cfg=None, str float_model_path=None, tf.data.Dataset train_ds=None, tf.data.Dataset quantization_ds=None) |
| None | stm32ai_main.chain_eqe (DictConfig cfg=None, str float_model_path=None, tf.data.Dataset train_ds=None, tf.data.Dataset valid_ds=None, tf.data.Dataset quantization_ds=None, tf.data.Dataset test_ds=None) |
| None | stm32ai_main.chain_tqeb (DictConfig cfg=None, tf.data.Dataset train_ds=None, tf.data.Dataset valid_ds=None, tf.data.Dataset quantization_ds=None, tf.data.Dataset test_ds=None) |
| None | stm32ai_main.chain_tqe (DictConfig cfg=None, tf.data.Dataset train_ds=None, tf.data.Dataset valid_ds=None, tf.data.Dataset quantization_ds=None, tf.data.Dataset test_ds=None) |
| None | stm32ai_main.process_mode (str mode=None, DictConfig configs=None, tf.data.Dataset train_ds=None, tf.data.Dataset valid_ds=None, tf.data.Dataset quantization_ds=None, tf.data.Dataset test_ds=None, Optional[str] float_model_path=None, Optional[bool] fake=False) |
| None | stm32ai_main.main (DictConfig cfg) |
Variables | |
| stm32ai_main.SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) | |
Add the parent directory to sys.path so that shared modules in common/ are importable. More... | |
| stm32ai_main.parser = argparse.ArgumentParser() | |
| stm32ai_main.type | |
| stm32ai_main.str | |
| stm32ai_main.default | |
| stm32ai_main.help | |
| stm32ai_main.nargs | |
| stm32ai_main.args = parser.parse_args() | |
Main entry point for the STM32AI Model Zoo Services pipeline for pose estimation.
This script orchestrates the full lifecycle of a neural network model for deployment on STM32 microcontrollers, specifically the STM32N6570-DK board equipped with an NPU.
The pipeline supports the following operation modes:
Composite chains combine multiple steps in a single command:
The script is configured via a YAML file (user_config.yaml) managed by Hydra. Experiment tracking is handled by MLflow and optionally by ClearML.
Definition in file stm32ai_main.py.