How to compute the IoU of a Tensor and a List

Which probably means the two tensors in predictions_list aren’t of same size. Is that it?

If yes, it requires a bit complicated workaround than if it’s not.
See-