mirror of https://github.com/hero-y/BHRL
19 lines
587 B
Python
19 lines
587 B
Python
from ..builder import DETECTORS
|
|
from .single_stage import SingleStageDetector
|
|
|
|
|
|
@DETECTORS.register_module()
|
|
class FCOS(SingleStageDetector):
|
|
"""Implementation of `FCOS <https://arxiv.org/abs/1904.01355>`_"""
|
|
|
|
def __init__(self,
|
|
backbone,
|
|
neck,
|
|
bbox_head,
|
|
train_cfg=None,
|
|
test_cfg=None,
|
|
pretrained=None,
|
|
init_cfg=None):
|
|
super(FCOS, self).__init__(backbone, neck, bbox_head, train_cfg,
|
|
test_cfg, pretrained, init_cfg)
|