cancel
Showing results for 
Search instead for 
Did you mean: 

Errors Analyzing Models in X-Cube-AI Tool

casperbroch
Associate

Hello everyone,

I am encountering issues while using the X-Cube-AI tool to analyze two models that I recently resized and reduced. Despite thorough testing and troubleshooting, I cannot resolve the errors, and I hope someone here might provide insight.

Issue Details:

  1. Model Behavior in Python:

    • Both models run perfectly in Python.
    • They work well when tested as .onnx models using other tools.
  2. Troubleshooting Steps Taken:

    • Analyzed the .onnx models manually using Netron.app — no issues were identified.
    • Attempted analysis using both my local IDE and the ST Developer Cloud Tool — both returned the same errors.
    • Enabled maximum verbosity (level 3) during analysis, but the error messages provided no actionable information.

Error Messages:

  • anchornet.onnx:

     
    INTERNAL ERROR: 'NoneType' object is not subscriptable
  • pointnet.onnx:

     
    INTERNAL ERROR: Mismatch in input shape of gemm: (BATCH: 1, CH: 512, H: 3) x (BATCH: 1, CH: 3, H: 3)

While the second error provides slightly more detail, it remains unclear where or how this mismatch occurs in the model.

Additional Notes:

  • I have access to the original Python code and Torch models from which the .onnx files were exported. I can modify the models if necessary to resolve compatibility issues.

I feel like I’ve tried everything I can think of. Is there a chance someone could help me identify what’s going wrong or suggest next steps to debug this further?

Thanks in advance for any help or guidance!

0 REPLIES 0