birth
This commit is contained in:
9
detection/mmdet_custom/models/detectors/__init__.py
Normal file
9
detection/mmdet_custom/models/detectors/__init__.py
Normal file
@@ -0,0 +1,9 @@
|
||||
# --------------------------------------------------------
|
||||
# DCNv4
|
||||
# Copyright (c) 2024 OpenGVLab
|
||||
# Licensed under The MIT License [see LICENSE for details]
|
||||
# --------------------------------------------------------
|
||||
|
||||
from .dino import DINO
|
||||
|
||||
__all__ = ['DINO']
|
||||
10
detection/mmdet_custom/models/detectors/dino.py
Normal file
10
detection/mmdet_custom/models/detectors/dino.py
Normal file
@@ -0,0 +1,10 @@
|
||||
# Copyright (c) OpenMMLab. All rights reserved.
|
||||
from mmdet.models.builder import DETECTORS
|
||||
from mmdet.models.detectors.detr import DETR
|
||||
|
||||
|
||||
@DETECTORS.register_module()
|
||||
class DINO(DETR):
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(DETR, self).__init__(*args, **kwargs)
|
||||
Reference in New Issue
Block a user