Pose Estimation model benchmarking ¶
Pose Estimation model benchmarking supports Keras, TFLite, and ONNX models. The shared guide explains the workflow, tool selection, configuration, run commands, and results: STM32 model benchmarking.
Pose Estimation specifics ¶
model.model_typeis required, also when you usemodel_path, and so is thepreprocessingsection.The model is either your own
model_path, or a pretrained model selected by name, as in benchmarking_config.yaml. In that case, the benchmarking configuration has nodatasetsection, so setmodel.pretrained_dataset_name(for examplecustom_coco_person_17kpts) together withmodel_name,input_shape, andmodel_precision. See the Models guide.The STM32MPU boards (
STM32MP257F-EV1,STM32MP157F-DK2,STM32MP135F-DK) can only be benchmarked with the ST Edge AI Model Bench: settools.stedgeai.on_cloud: True.
Configuration examples ¶
Ready-to-use YAML examples are available in the Pose Estimation configuration folder:
Quantization followed by benchmarking (
chain_qb): chain_qb_config.yamlEvaluation, quantization, evaluation, and benchmarking (
chain_eqeb): chain_eqeb_config.yamlTraining, quantization, evaluation, and benchmarking (
chain_tqeb): chain_tqeb_config.yaml
Update the configuration for your model and target, then follow the common guide to run benchmarking.