def METHOD_NAME():
    """Test corner case where a network might predict no boxes and no gt."""
    self = MaxIoUAssigner(
        pos_iou_thr=0.5,
        neg_iou_thr=0.5,
    )
    priors = torch.empty(0, 4)
    gt_bboxes = torch.empty(0, 4)
    gt_labels = torch.empty(0)
    pred_instances = InstanceData(priors=priors)
    gt_instances = InstanceData(bboxes=gt_bboxes, labels=gt_labels)
    assign_result = self.assign(pred_instances, gt_instances)
    assert len(assign_result.gt_inds) == 0