[Bug fix]compute_overlaps_masks
In compute_overlaps_masks(), the code checking the shape of masks1 and masks2 is not correct. 1. It should check masks' last dimension instead of first dimension to determine whether it's empty or not 2. When masks1 or masks2 is empty, it should return a zero array of shape (masks1.shape[-1], masks2.shape[-1])
Showing
想要评论请 注册 或 登录