Edge AI

Ask questions and find answers on how to deploy, debug, and optimize AI models on ST microcontrollers, microprocessors, and smart sensors.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

X-CUBE-AI, tflite LSTM model: Unsupported layer types

Hi,I’m currently trying to upload the following LSTM model into a STM32L476RG via X-CUBE-AIUploading the Keras .h5 model works well, however when I try to upload the TensorFlow Lite converted version of the same model, I get the following prompt:Any ...

CFrancesco_0-1690184731832.png CFrancesco_1-1690184772998.png

Resolved! ISM330DHCX FSM Change DECTREE Value for CHKDT condition

Hi,I am trying to use the FSM of the ISM330DHCX to check multiple decision tree outputs from the MLC.I want to be able to change the Decision Tree value in the CHKDT condition within the program flow, as I want to be checking multiple decision trees ...

Resolved! stm32ai generate error

The error occurs when I try to run the code generated for model squeezenetv1.1_xxx_tfs_int8.tflite The command I used to generate code is stm32ai generate -m squeezenetv1.1_128_tfs_int8.tflite -O ramAnd I follow the guide "How to run locally a c-mode...

屏幕截图 2024-04-08 160837.png 屏幕截图 2024-04-08 160855.png
ManuZhu by Associate II
  • 3739 Views
  • 2 replies
  • 0 kudos

Resolved! Error in "ram" optimization of STM32CubeAI

The error occurs in both Mac m1 and windows. When I use "stm32ai validate/generate" command, I find that "-O ram" outputs totally strange results. Let's use fdmobilenet_0.25_224_tfs_int8.tflite from stm32ai-modelzoo as an example. "stm32ai validate -...

截屏2024-04-09 20.38.08.png 截屏2024-04-09 20.44.03.png 截屏2024-04-09 20.54.39.png 截屏2024-04-09 20.55.19.png
ManuZhu by Associate II
  • 1443 Views
  • 2 replies
  • 0 kudos

Resolved! Unico feature calculation

Hello,I'm trying to figure out how Unico calculates it feature values during .arff creation.Unfortunately, if I calculate the features as described in AN5804, the feature values differ from the Unico output.I have attached two files, accelerometer sa...

He_Ka by Associate
  • 2218 Views
  • 2 replies
  • 0 kudos

stm32cube_ai, airun(),The output data is abnormal

When I use a function 【int ai_run(const void *in_data, void *out_data)】to make predictions,the out_data always output【0】No matter how I change the value of the input data, the value of the output data will not change, it will always be 0.int ai_run(c...

屏幕截图(315).png
Sunjing by Associate II
  • 1542 Views
  • 1 replies
  • 0 kudos

Error while configuring activations with X-CUBE-AI

I am trying to create an AI App with X-CUBE-AI but I encountered the following error:TEMPLATE - Error create_and_init type=0x30 code=0x13I have not touched the code yet so it is really frustrating. If I comment the line "MX_X_CUBE_AI_Init();" the cod...