↓ 6 callersFunctionbox_area Computes the area of a set of bounding boxes, which are specified by its (x1, y1, x2, y2) coordinates. Args: boxes (Tensor[N, 4]
datasets/flickr_eval.py:151
↓ 4 callersMethod__init__(self, d_model=256, nhead=8, num_encoder_layers=6,
num_decoder_layers=6, dim_feedforward=204
models/transformer_ori.py:21
↓ 3 callersFunctionconvert(
subset: str, flickr_path: Path, output_path: Path, merge_ground_truth: bool, next_img_id: int = 0, next_
scripts/pre-training/flickr_combined.py:238