Skip to main content
JCuer.2
Associate
December 18, 2020
Question

X-CUBE-AI: "template code should be updated to support a model with multiple IO"

  • December 18, 2020
  • 1 reply
  • 898 views

Hi guys!

I'm trying to use X-CUBE-AI with Application template, but I got "template code should be updated to support a model with multiple IO".

I have accelerometer LSM6DS0 data as input (3 axis) and 4 output classes ('Up','Down','Left','Right').

 

What should I change to feed up the model? Thank you in advance!

This topic has been closed for replies.

1 reply

Eleon BORLINI
ST Employee
December 21, 2020

Hi @JManu.1 Cuerva​ ,

I've added the Cube.AI topic since I'm not an expert on it. I have however some question / possible suggestion for you.

For the sensor part, are you referring to the LSM6DS0 (final "zero") part number or to the LSM6DSO (final "o")?

For the firmware part, are you starting from scratch and on a custom platform?

I would suggest you to check and compare your code with the applications of the FP-AI-SENSING1 function pack, that contains example of the CubeAI usage with the LSM6DSO(X) device, which is very similar to the LSM6DSO one (with final "o"). For example, you can check the \Projects\STM32L476RG-Nucleo\Applications\SENSING1 application, especially the ai_common.c file.

Please let me know if these examples can help you.

-Eleon