def METHOD_NAME(self, results: dict) -> Tuple[list, list]:
    """Convert raw anns to instaboost expected input format."""
    anns = []
    ignore_anns = []
    for instance in results['instances']:
        label = instance['bbox_label']
        bbox = instance['bbox']
        mask = instance['mask']
        x1, y1, x2, y2 = bbox
        # assert (x2 - x1) >= 1 and (y2 - y1) >= 1
        bbox = [x1, y1, x2 - x1, y2 - y1]
        if instance['ignore_flag'] == 0:
            anns.append({
                'category_id': label,
                'segmentation': mask,
                'bbox': bbox
            })
        else:
            # Ignore instances without data augmentation
            ignore_anns.append(instance)
    return anns, ignore_anns