def retinanet_res50_coco_1x_800size(batch_size=1, **kwargs):
    r"""
    RetinaNet trained from COCO dataset.
    `"RetinaNet" <https://arxiv.org/abs/1708.02002>`_
    `"FPN" <https://arxiv.org/abs/1612.03144>`_
    `"COCO" <https://arxiv.org/abs/1405.0312>`_
    """
    return models.RetinaNet(models.RetinaNetConfig(), batch_size=batch_size, **kwargs)
def retinanet_objects365_res50_1x_800size(batch_size=1, **kwargs):
    r"""
    RetinaNet trained from Objects365 dataset.
    `"RetinaNet" <https://arxiv.org/abs/1708.02002>`_
    """
    return models.RetinaNet(CustomRetinaNetConfig(),
                            batch_size=batch_size,
                            **kwargs)
예제 #3
0
def retinanet_resx101_coco_2x_800size(batch_size=1, **kwargs):
    r"""
    RetinaNet trained from COCO dataset.
    `"RetinaNet" <https://arxiv.org/abs/1708.02002>`_
    `"FPN" <https://arxiv.org/abs/1612.03144>`_
    `"COCO" <https://arxiv.org/abs/1405.0312>`_
    """
    cfg = CustomRetinaNetConfig()
    cfg.backbone_pretrained = False
    return models.RetinaNet(cfg, batch_size=batch_size, **kwargs)
예제 #4
0
def retinanet_res50_coco_1x_800size_syncbn(batch_size=1, **kwargs):
    r"""
    RetinaNet with SyncBN trained from COCO dataset.
    `"RetinaNet" <https://arxiv.org/abs/1708.02002>`_
    `"FPN" <https://arxiv.org/abs/1612.03144>`_
    `"COCO" <https://arxiv.org/abs/1405.0312>`_
    `"SyncBN" <https://arxiv.org/abs/1711.07240>`_
    """
    return models.RetinaNet(CustomRetinaNetConfig(),
                            batch_size=batch_size,
                            **kwargs)
def retinanet_res50_coco_1x_800size(batch_size=1, **kwargs):
    r"""ResNet-18 model from
    `"RetinaNet" <https://arxiv.org/abs/1708.02002>`_
    """
    return models.RetinaNet(RetinaNetConfig(), batch_size=batch_size, **kwargs)