Functiongeneralized_multi_box_iou Generalized IoU from https://giou.stanford.edu/ The boxes should be in [x0, y0, x1, y1] format boxes1.shape = [nf, N, 4] boxes2.shap
detr2/projects/DDETRS/ddetrs/util/box_ops.py:89
Functiongenerate_rays_nframe(coors, label_depths, label_segs, c2w, intrins, max_ray_nums=0, time_ids=None, dynamic_class=None, balance_wei
mmdet3d/datasets/ray.py:122
Methodget_contrastive_label(self, object_descriptions, output_tokens_id, output_tokens_attention_mask, box_features, negative_description
detr2/projects/DDETRS/ddetrs/models/text/modeling_t5.py:1909