↓ 2 callersMethodget_loss(self, loss, outputs, targets, indices, num_boxes, **kwargs)
wildlifemapper/segment_anything/build_sam.py:161
↓ 1 callersFunctionbox_candidates(box1, box2, wh_thr=2, ar_thr=100, area_thr=0.1, eps=1e-16)
wildlifemapper/segment_anything/utils/augmentation_yolo.py:94
↓ 1 callersFunctionevaluate(model, criterion, postprocessors, data_loader, base_ds, device, args)
wildlifemapper/inference.py:30
↓ 1 callersFunctiongeneralized_box_iou Generalized IoU from https://giou.stanford.edu/ The boxes should be in [x0, y0, x1, y1] format Returns a [N, M] pairwise matrix, where
wildlifemapper/segment_anything/utils/box_ops.py:40