Skip to main content
Associate
April 28, 2025
Question

Regarding the Validation of AI Models in ST Cloud

  • April 28, 2025
  • 2 replies
  • 504 views

I tried to validate my Keras model on ST Cloud, but there seems to be '' stedgeai analyze --model emotion_model.h5 --st-neural-art custom@/tmp/stm32ai_service/5afbcf71-db0d-4f0d-81a1-3cd5102933d8/profile-2fb440ba-ebb2-486b-b795-d7287b8d6307.json --target stm32n6 --optimize.export_hybrid True --name network --workspace workspace --output output
ST Edge AI Core v2.1.0-20182 a437ed3c9
WARNING: Unsupported keys in the current profile custom are ignored: memory_desc
> memory_desc is not a valid key anymore, use machine_desc instead
E102(CliArgumentError): Cannot use 'keras_dump'-type input files when using Neural Art compiler'' The error.

I hope to verify the STM32N6570DK development board in the cloud, but if I choose the MCU platform, it seems that I cannot choose this development board. If I choose NPU, it seems that there will be the above errors again.

2 replies

hamitiya
ST Employee
April 28, 2025

Hello @creeper 

STM32N6570-DK with ST Neural-ART accelerator does not support .h5 file, you need to quantize it first or to use another model (.tflite or .onnx).

And yes you are right, actually, only STM32N6570-DK with ST Neural ART is supported. You cannot benchmark STM32N6570-DK + Cortex M55 with ST Edge AI Developer Cloud.

 

Hope it helps.

Best regards,

Yanis

​In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
creeperAuthor
Associate
April 29, 2025

In other words, I can still bechmark .h5 files on Cubemx by connecting to the development board?

hamitiya
ST Employee
April 29, 2025

It should be possible yes, as a regular STM32 MCU (using ARM Cortex-M55 without ST Neural-ART Accelerator)

​In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.