Skip to main content
Fyouj.1
Associate II
September 22, 2021
Question

How can I reduce the RAM consumption of AER applications?

  • September 22, 2021
  • 2 replies
  • 1427 views

Dear ST Engineer,

I use CubeMX. AI debugging the AER applications downloaded from https://github.com/Shahnawax/AER-CNN-KERAS, need RAM 9.31 MiB, no matter use what kind of compression is so big, that is to say there is no that kind of MCU can adapt to this kind of use,What can be done to reduce RAM consumption?Or is there any MCU that has that much RAM?

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
September 22, 2021

Is this even designed for an MCU target, or an embedded linux platform?

You might need code the algorithm yourself in more efficient manner, in native code.

For high RAM requirements, perhaps look at the STM32 DISCO boards with SDRAM

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Tesla DeLorean
Guru
September 22, 2021
Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
TDK
Super User
September 22, 2021

No STM32 MCUs have 9MB of built-in RAM. You could add an external chip such as SDRAM to accommodate this. However, it seems like the application you are running is not intended for an embedded platform.

"If you feel a post has answered your question, please click ""Accept as Solution""."