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

Implementation of lambda layer

Hello I am trying to implement an RNN which contains a lambda layer. It works perfectly on keras but gives me an error in STM32CubeIDE I have read in the documentation that it should be possible to implement a lambda layer in the X-CUBE-AI 6.0.0 and ...

JMari.5 by Associate
  • 797 Views
  • 1 replies
  • 0 kudos

Resolved! Enabling X-Cube-AI in STM32CubeIDE project causes "undefined reference to `__wrap_malloc'" errors during compile.

Steps to reproduce:1.      Enable X-CUBE-AI core and add a network model.2.      Go back into main.c and setup the calls to feed and run the model with data.3.      Build the project.Upon build, produces the following errors:arm-none-eabi-gcc -o "NUC...

RFeist by Associate
  • 3467 Views
  • 9 replies
  • 0 kudos

How to generate the capsule network codes using cubemx.ai

I create a capsule layer for my capsule network, as follows.#A Capsule Implement with Pure Kerasclass Capsule(Layer):   def __init__...   def build(....):   def call(...): ...model = Model(...)model.compile(...)model.fit(...)model.save('***.h5')But ...

Swu.4 by Associate II
  • 494 Views
  • 0 replies
  • 0 kudos

X-Cube-AI and C++

Hey Community,did anyone run a X-Cube-AI project using C++ successfully?I get undefined reference errors when adding X-Cube-AI via CubeMX to my perfectly running cpp project in CubeIDE.steps to reproduce: create new project with cubemx, specified as...

FFrai.1 by Associate II
  • 968 Views
  • 2 replies
  • 1 kudos

X-CUBE-AI 6.0.0 (Windows): ImportError: cannot import name 'get_all_providers' from 'onnxruntime.capi._pybind_state'

With a fresh installation of STM32CubeIDE 1.6.1 on a clean WIndows 10 Pro 20H2, after adding X-CUBE-AI 6.0.0 to a new STM32 project, Analyze fails with:ImportError: cannot import name 'get_all_providers' from 'onnxruntime.capi._pybind_state' (C:\User...

piernov by Associate II
  • 1319 Views
  • 1 replies
  • 0 kudos

Resolved! stm32ai quantize error?

I'm trying to use STM32AI quantize -q .json to quantize a Keras .H5. However, I never got it working.Version: STM32 XCUBE-AI 6.0.0tensorflow: I tried tf 2.0 and tf 1.15 installed Platform. tried on both window and Linux (ubuntu 18.04)Command line:C:\...

GWang.3 by Associate III
  • 1468 Views
  • 4 replies
  • 0 kudos

Resolved! Validation on Target - running time layer by layer

I am trying to follow the DM00570145 and validate on target (STM32F746 Discovery Board, XCUBE-AI 6.0.0, toolchain: STM32CUBE IDE), I cannot get the output listed on Figure 61. "Layer by layer results - Validation on target", especially the "ms" runni...

GWang.3 by Associate III
  • 1178 Views
  • 2 replies
  • 0 kudos