↓ 2 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
models/detr/util/box_ops.py:40
↓ 2 callersFunctionwindow_partition Args: x: (B, D, H, W, C) window_size (tuple[int]): window size Returns: windows: (B*num_windows, window_size*window_s
models/backbones/video_swin_transformer.py:58
↓ 1 callersMethod_load_video_from_path_decord(self, video_path, height=None, width=None, start_time=None, end_time=None, fps=-1)
models/BLIP/data/video_dataset.py:76