↓ 20 callersMethodchat(
self,
tokenizer,
query: str,
history: List[Tuple[str, str]] = [],
st
project/mini_monkey/internvl/model/internlm2/modeling_internlm2.py:1187
↓ 15 callersFunctionpairwise_iou_rotated Return intersection-over-union (Jaccard index) of boxes. Both sets of boxes are expected to be in (x_center, y_center, width, height, an
data_generation/grit/third_party/CenterNet2/detectron2/layers/rotated_boxes.py:6
↓ 11 callersMethodfrom_tensors Args: tensors: a tuple or list of `torch.Tensor`, each of shape (Hi, Wi) or (C_1, ..., C_K, Hi, Wi) where K >= 1.
data_generation/grit/third_party/CenterNet2/detectron2/structures/image_list.py:59
↓ 9 callersMethod__init__(self, cfg, levels, channels, block=BasicBlock, residual_root=False)
data_generation/grit/third_party/CenterNet2/projects/CenterNet2/centernet/modeling/backbone/dlafpn.py:188
↓ 9 callersMethodapply_deltas Apply transformation `deltas` (dx, dy, dw, dh) to `boxes`. Args: deltas (Tensor): transformation deltas of shape (N, k*4
data_generation/grit/third_party/CenterNet2/detectron2/modeling/box_regression.py:78