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

How to convert a float array to uint8_t array

Hi, I am trying to implement an audio classifier on stm32f746g-discovery board. I converted my keras model into a tflite file and successfully loaded it in the board.I used integer only quantization on my model in order to decrease ram usage. I think...

KDeni.3 by Associate II
  • 7227 Views
  • 6 replies
  • 1 kudos

Resolved! When running the model, I get error type 17 and error code 16

I am currently trying to run an ML model on the STM32H7A3. The model is uploaded correctly and successfully analysed.The first issue is that when generating the code, the middleware folder which contains ST>ai (which contains ai_platform) is deleted ...

_legacyfs_online_stmicro_images_0693W00000bVhqoQAC.png
KSOdin2 by Associate III
  • 1339 Views
  • 1 replies
  • 0 kudos

Unable to run inference using X-Cube-AI API due to Hard Fault

Hi.I'm trying to run a neural network model using X-Cube-AI, but at the point of performing the inference, my program gets stucked in the Hard Fault handler routine. I attach the details given by the Hard Fault Analyzer in STM32CubeIDE. I have read t...

_legacyfs_online_stmicro_images_0693W00000dJyjtQAC.png
APerd.1 by Associate II
  • 1015 Views
  • 1 replies
  • 0 kudos

X-CUBE-AI: error while analyzing model

Hi, I have followed the tutorial https://www.youtube.com/watch?v=grgNXdkmzzQ&t=4s to test X-CUBE-AI with CubeMX5.0.1, but the step 'Analysis' just end with an error message without any details. I have received the same error with CubeIDE which comes ...

ABora.3 by Associate II
  • 4661 Views
  • 14 replies
  • 0 kudos

INTERNAL ERROR: The edge 1842-1843 not in graph.

When the cubeai tool is used to analyze the model, the unquantized model can be analyzed normally, but the static quantization analysis can make mistakes. I use the onnx model. The following is my quantified model. I hope someone can help me.

wg by Associate II
  • 724 Views
  • 0 replies
  • 0 kudos