cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate the feature scaler.c?

ICabi.1
Associate

I am trying to use an acoustic scene classification from the sensing1 function pack (https://www.st.com/en/embedded-software/fp-ai-sensing1.html) that the stm32 provided for the sensortile.box. I have a difficulty integrating its sample python code model training using the stm32cube.ai. How can i generate its feature scaler.c and also its data.c for the training model code in python to be used in sensortile.box?

1 REPLY 1
Eleon BORLINI
ST Employee

Hi @ICabi.1​ , the output of the STM32CUBE.AI should include the data.c file by default, as described in the online tutorial, and should be saved in a folder path like /Middleware/ST/AI_*project_name*/data. The feature_scaler.c file is on the other side internally customized by ST for the ASC neural network, and it is not an automatic output of the stm32cube.ai. Btw, we are currently checking the differences between an automatic output of the cube.ai and the src of the acoustic scene classification NN. Regards