Skip to main content
Jf.1
Associate II
March 5, 2021
Solved

Can I add multiple models to X-cube ai that would have multiple outputs?

  • March 5, 2021
  • 1 reply
  • 1868 views

Hi,

I would like to ask whether it is possible to put multiple models into an MCU using x-cube ai. The first model would generate one output which will be one of the inputs for another model with 13 inputs and 3 outputs.

If you could provide steps as to how to achieve this, it would also be very helpful.

Kind regards,

Jona

    This topic has been closed for replies.
    Best answer by Gln

    Hello @Jona,

    Yes this is possible. You will have to write your own code to assign the outputs of the first model to the inputs of the second model. Reshape and/or transform if necessary.

    Adding multiple models to X-CUBE-AI is described in the User Manual, section 4.7 Adding a new DL model:

    https://www.st.com/resource/en/user_manual/dm00570145-getting-started-with-x-cube-ai-expansion-package-for-artificial-intelligence-ai-stmicroelectronics.pdf

    Regards,

    Guillaume

    1 reply

    Gln
    GlnBest answer
    ST Employee
    March 5, 2021

    Hello @Jona,

    Yes this is possible. You will have to write your own code to assign the outputs of the first model to the inputs of the second model. Reshape and/or transform if necessary.

    Adding multiple models to X-CUBE-AI is described in the User Manual, section 4.7 Adding a new DL model:

    https://www.st.com/resource/en/user_manual/dm00570145-getting-started-with-x-cube-ai-expansion-package-for-artificial-intelligence-ai-stmicroelectronics.pdf

    Regards,

    Guillaume

    Jf.1
    Jf.1Author
    Associate II
    March 6, 2021

    Hi Guillaume,

    Thank you for your reply, I'd also like to ask if models with multiple outputs can also be added in x-cube ai?

    Kind regards,

    Jona