def METHOD_NAME(self, add_masks=False, add_keypoints=False):
    images = [torch.rand((3, 100, 100), dtype=torch.float32)]
    boxes = torch.zeros((0, 4), dtype=torch.float32)
    negative_target = {
        "boxes": boxes,
        "labels": torch.zeros(0, dtype=torch.int64),
        "image_id": 4,
        "area": (boxes[:, 3] - boxes[:, 1]) * (boxes[:, 2] - boxes[:, 0]),
        "iscrowd": torch.zeros((0,), dtype=torch.int64),
    }
    if add_masks:
        negative_target["masks"] = torch.zeros(0, 100, 100, dtype=torch.uint8)
    if add_keypoints:
        negative_target["keypoints"] = torch.zeros(17, 0, 3, dtype=torch.float32)
    targets = [negative_target]
    return images, targets