Skip to main content
SYüce.1
Visitor II
May 26, 2023
Solved

Is there a way to simulate an STM32 board's behavior without having the board

  • May 26, 2023
  • 1 reply
  • 894 views

Hi,

I am trying to simulate the behavior of different STM32 MCUs to see which unit meets my expectations for an object detection task.

I was wondering if there is a way to simulate their behavior on object detection problems with tflite model + validation dataset given? If so, can you help me about it?

Thanks a lot in advance!

    This topic has been closed for replies.
    Best answer by fauvarque.daniel

    if you are looking for checking the accuracy of generated C code versus the original model you can do it with the validation on desktop where you can pass input and output data as an NPZ file. In X-CUBE-AI inside STM32CubeMX just click on the validate on desktop button.

    If you want to have inference time numbers for your network on different STM32 boards, you can use the STM32Cube.AI Developer Cloud service (https://stm32ai-cs.st.com/). On that cloud service you can run your network on several STM32 targets that we have on our farm. In this cloud service you can also try different generation options and quantize your network (if your network is a keras network).

    Regards

    1 reply

    fauvarque.daniel
    fauvarque.danielBest answer
    ST Employee
    May 26, 2023

    if you are looking for checking the accuracy of generated C code versus the original model you can do it with the validation on desktop where you can pass input and output data as an NPZ file. In X-CUBE-AI inside STM32CubeMX just click on the validate on desktop button.

    If you want to have inference time numbers for your network on different STM32 boards, you can use the STM32Cube.AI Developer Cloud service (https://stm32ai-cs.st.com/). On that cloud service you can run your network on several STM32 targets that we have on our farm. In this cloud service you can also try different generation options and quantize your network (if your network is a keras network).

    Regards