Open magicaltoast opened 2 years ago
Now the ONNX doesn't support ragged tensors. Converter can convert rank-1 ragged tensors but currently can't do larger than rank-1. We could potentially support higher ranks with a loop, but that would probably not be very efficient now.
Describe the bug Can't concat ragged tensors with more than one dimension.
I want to decode results from the object detector. I am using
tf.ragged.boolean_mask(bboxes, pos_inds)
to gather results above threshold but my detector has multiple scales like yolo family so I need to concatenate it to one tensor to perform nonmax suppression. There's is no problem with scores because is a 1d tensor but it fails to convert bounding boxes.That feature would allow avoiding builder plate code for decoding object detection results because the decoding step would be inside onnx model.
System information
To Reproduce
Error