Open shehrzad opened 3 years ago
Hi, The problem is actually not the unknown dimension that we actually support, but the shape itself which is rank-3 and we don't support at the moment as we only support computer vision type of model for now RadeonML is still very much a beta library and we would like to get inputs on users and their requirements. Could we exchange in private to that matter.
Thanks Benjamin
Thanks Benjamin,
So if I understand you correctly RadeonML is expecting a rank-4 input tensor, i.e. NCHW a la TensorRT or Tensorflow? Yes we can exchange in private with regards to this matter.
This ONNX model cannot be ingested by the RML:
The specific error is:
In fact, with other frameworks the input tensor dimensions should are (-1, -1, 161) where -1 is "unknown". With a batch size of 1 and a single frame of data, the python onnxruntime allows inference just fine. With the C++ onnxruntime library, using the code at the end of this issue, the expected input and output tensor dimensions are printed. I really need to use the Radeon GPU shaders for inference, but in it's current state Radeon-ML isn't working for me.