- datasets placeholder for the human activity recognition datasets.
- deployment contains the necessary files for the deployment service.
- pretrained_models points to a collection of optimized pretrained models on different human activity datasets.
- src contains tools to train, evaluate, benchmark and quantize your model on your STM32 target.
The operation_mode
top-level attribute specifies the operations or the service you want to execute. This may be single operation or a set of chained operations.
You can refer to readme links below that provide typical examples of operation modes, and tutorials on specific services:
All .yaml configuration examples are located in config_file_examples folder.
The different values of the operation_mode
attribute and the corresponding operations are described in the table below. In the names of the chain modes, 't' stands for training, 'e' for evaluation, 'q' for quantization, 'b' for benchmark and 'd' for deployment on an STM32 board.
operation_mode attribute | Operations |
---|---|
training |
Train an HAR |
evaluation |
Evaluate the accuracy of a float model on a test or validation dataset |
benchmarking |
Benchmark a float model on an STM32 board |
deployment |
Deploy a model on an STM32 board |
chain_tb |
Sequentially: training, benchmarking of trained model |
Don't forget to follow our tuto below for a quick ramp up :
- How to define and train my own model?
- How to fine tune a model on my own dataset?
- How can I quickly check the performance of my model using the dev cloud?
- How can I deploy my model?
Remember that minimalistic yaml files are available here to play with specific services, and that all pre-trained models in the STM32 model zoo are provided with their configuration .yaml file used to generate them. These are very good starting points to start playing with!