-
-
Save SannaPersson/a5274f34bf0c843cc2afe589b10b0505 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iou_anchors = iou(torch.tensor(box[2:4]), self.anchors) | |
anchor_indices = iou_anchors.argsort(descending=True, dim=0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment