retinanet.rst 766 Bytes
Newer Older
1
2
3
4
5
6
7
8
RetinaNet
=========

.. currentmodule:: torchvision.models.detection

The RetinaNet model is based on the `Focal Loss for Dense Object Detection
<https://arxiv.org/abs/1708.02002>`__ paper.

9
10
.. betastatus:: detection module

11
12
13
14
Model builders
--------------

The following model builders can be used to instantiate a RetinaNet model, with or
15
without pre-trained weights. All the model builders internally rely on the
16
17
18
19
20
21
22
23
24
25
``torchvision.models.detection.retinanet.RetinaNet`` base class. Please refer to the `source code
<https://github.com/pytorch/vision/blob/main/torchvision/models/detection/retinanet.py>`_ for
more details about this class.

.. autosummary::
    :toctree: generated/
    :template: function.rst

    retinanet_resnet50_fpn
    retinanet_resnet50_fpn_v2