↓ 2 callersFunctionbox_xywh_to_xyxyAccepts a list of bounding boxes in coco format (xmin,ymin, width, height) Returns the list of boxes in pascal format (xmin,ymin,xmax,ymax) T
scripts/pre-training/flickr_combined.py:50
↓ 2 callersMethodget_loss(self, loss, outputs, targets, positive_map, indices, num_boxes,
args=None, **kwargs)
models/mdetr.py:843
↓ 2 callersFunctionxyxy_to_xywhConverts a set of boxes in [top_left_x, top_left_y, bottom_right_x, bottom_right_y] format to [top_left_x, top_left_y, width, height] format
scripts/utils/boxes.py:52
↓ 1 callersMethod__init__(self, img_folder_coco, img_folder_vg, ann_file, transforms, return_masks, return_tokens, tokenizer)
datasets/mixed.py:84