cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX AI 5.1.0 BUG: Cannot analyze the neural network

DMårt
Lead

Hi!

I have to report a bug. I cannot analyze the neural network in STM32CubeMX 1.3.0. I don't use 1.4.0 because they won't work with FreeRTOS.

How to repeat this issue:

  1. Start a new Project.
  2. Select STM32 F446RE Nucleo board
  3. Use CubeMX AI 5.1.0
  4. Download Mobilenet_V1_0.25_128_quant from https://www.tensorflow.org/lite/guide/hosted_models
  5. Download keras_cifar10_trained_model_100_epochs.h5 from https://github.com/ABurrello/CubeMX-AI-demo/tree/master/saved_models
  6. Download mobilenetv2-7.onnx from https://github.com/onnx/models/tree/master/vision/classification/mobilenet/model

As you can see, the mobilenetv2-7.onnx is the only file that can be analyzed with.

Thank you.

Operative system: Lubuntu Linux 20.04

Installation file: Generic Linux

IDE: STM32 CubeMX IDE 1.3.0

AI: CubeMX AI 5.1.0

STM32MP151AAC3 custom board with STM32-OS as operating system: https://github.com/DanielMartensson/STM32-Computer
2 REPLIES 2
Houssem CHAABANI
Senior II

Dear @Daniel Mårtensson​ 

Could you please share you .ioc file and it's recommended to use the last available version of STM32CubeMX.

Best Regards,

Houssem

Sorry. I don't have the .ioc file no longer.

You have to reproduce the issue by following these 1 to 6 steps.

STM32MP151AAC3 custom board with STM32-OS as operating system: https://github.com/DanielMartensson/STM32-Computer