torchsig.models.spectrogram_models.detr.utilsΒΆ
Functions
Computes the precision@k for the specified values of k |
|
Generalized IoU from https://giou.stanford.edu/ The boxes should be in [x0, y0, x1, y1] format Returns a [N, M] pairwise matrix, where N = len(boxes1) and M = len(boxes2) |
|