-
Is it possible to perform batch processing with kornia.geometry.homography.find_homography_dlt when the number of points varies between batches? The points parameter requires a torch.Tensor of shape [B, N, 2], where N needs to be consistent across batches. In many cases, it's expected that the number of points may vary between image pairs. I'm wondering if there's a way to handle this, such as aligning the number of points to match the maximum N within the batch data, to enable parallel processing of the data in mini-batches. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
a direct way would be setting the |
Beta Was this translation helpful? Give feedback.
a direct way would be setting the
weights
to zero to the points you don't want to include to solve the problem. cc @ducha-aiki