This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: ONNX Model Conversion Issue (Reshape)

Part Number: TDA4VM

Hello,

I want to convert ONNX model by using TIDL import tool. I am using the latest version of TIDL import tool and mobilenetv2-7.onnx model downloaded from here.

With this model I am facing the following issue:

Could not find const or initializer of layer Reshape_103 !!!
Only float and INT64 tensor is suported.

Can you please give me some information what can be the cause of the issue and how to fix it?

Best Regards!

  • Hi,

    The issue is coming because TIDL supports a constant tensor for specifying output size of the reshape layer. In this case, the shape is specified through a variable tensor. If you can specify the shape directly using a constant tensor, this issue should get resolved.

    Regards,

    Anand