def METHOD_NAME(
    cls,
    task: Task,
    num_classes: int,
    backbone: str = "resnet18_fpn",
    head: str = "retinanet",
    pretrained: bool = True,
    metrics: Optional["IceVisionMetric"] = SimpleCOCOMetric(COCOMetricType.bbox),
    image_size: Optional = None,
    **kwargs,