Edge AI

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

How to read the MLC0_SRC Register properly on LSM6DSOX

Hello, I am trying to use the MLC on the LSM6DSOX with the 6D Position Recognition Sample.The Interrupts on INT1 are triggered as expected, but when I read the MLC0_SRC (0x70U) it always returns 0. Moreover, I tried different samples - same problem.I...

MSchw.2 by Associate II
  • 707 Views
  • 3 replies
  • 0 kudos

X-CUBE-AI Model validation Error

Hello,I have a recurrent error when I try to validate a model using X-CUBE-AI : "TOOL ERROR: Weights are incompatible with model: xxxxx loaded, 89864 found", where xxxxx depends on the model I try to validate. The error occurs in the CubeMX software ...

Resolved! Interrupt behavior of LSM6DSOX?

I am looking to create a project where I can set/latch the interrupt pin INT1 on high when the LSM6DSOX is detecting state X (where X is state 1/2/3 etc.) and goes down (low) when in a generic/static state (state 0). How is this possible? I found in ...

Is SoftMax function supported by CubeMx-AI?

I am building CNN model on TensorFlow and after that I generate C code for STM32 micro using CubeMX-AI.Here's my modelmodel = models.Sequential() model.add(layers.Conv2D(32, (3, 3), activation='relu', input_shape=(32, 32,1))) model.add(layers.MaxPool...

0693W000000UhNcQAK.png
HAlzo by Senior
  • 516 Views
  • 2 replies
  • 0 kudos

Weights quantization to uint8

Hi, As the title says, I'm trying to use a model with integer weights in cube_ai for speed and size performances. I converted the original keras model to int operations using TFtiny, but when I try to import it, cube_ai throws an error warning me tha...

AAnci.1 by Associate II
  • 606 Views
  • 1 replies
  • 0 kudos

Downsampling image on f746

Hi, I'm working on a project involving using NN with cube ai to track objects from images coming from a camera sensor. I would like to find a way to downsample an image in the fastest / less cpu intensive way possible (the video feed is approximately...

AAnci.1 by Associate II
  • 501 Views
  • 1 replies
  • 0 kudos

Different behavior between model on Python and on STM32

Hello,I created a CNN model used Keras with tensorflow here's the modelmodel = models.Sequential() model.add(layers.Conv2D(32, (3, 3), activation='relu', input_shape=(32, 32,1))) model.add(layers.MaxPooling2D((2, 2))) model.add(layers.Conv2D(64, (3, ...

HAlzo by Senior
  • 391 Views
  • 0 replies
  • 0 kudos