Skip to main content
Associate
January 15, 2025
Solved

Errors Analyzing ONNX Models in X-Cube-AI Tool

  • January 15, 2025
  • 2 replies
  • 676 views

Hello everyone:

         I encountered a problem when importing the ONNX model and using the X CUDE AI tool for analysis. I have tried many solutions but couldn't solve it. I hope someone here can help me. The specific problem is as follows:

      ST Edge AI Core v1.0.0-19894
      NOT IMPLEMENTED: Only step=1 is supported for each axis: [2]

        This is a problem that occurred after adding the SPDConv module to the YOLOv5 model. Before that, the model could be imported and analyzed smoothly.

Best answer by Julian E.

Hello @segamar ,

 

Your last model goes through the last version of st edge ai without any issue: ST Edge AI Core v10.0.0-20047

STEdgeAI-Core - Artificial intelligence (AI) optimizer technology for STMicroelectronics products - STMicroelectronics

 

Have a good day,

Julian

2 replies

Julian E.
Technical Moderator
January 15, 2025

Hello @segamar ,

 

In the zip, this is the non SPDversions? 

The ST Edge AI (behind cubeAI) is supporting the spaceToDepth for onnx so there should not be an issue.

https://stedgeai-dc.st.com/assets/embedded-docs/supported_ops_onnx.html 

Could you upload the onnx model that does not work please. 

 

Thanks

Julian

 

​In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
segamarAuthor
Associate
January 16, 2025

I uploaded the ONNX file that contained SPDConv, but I also uploaded a new ONNX file that didn't work.

Thank you for your help

Julian E.
Julian E.Best answer
Technical Moderator
January 16, 2025

Hello @segamar ,

 

Your last model goes through the last version of st edge ai without any issue: ST Edge AI Core v10.0.0-20047

STEdgeAI-Core - Artificial intelligence (AI) optimizer technology for STMicroelectronics products - STMicroelectronics

 

Have a good day,

Julian

​In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.