File size: 318 Bytes
186701e
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Copyright (c) OpenMMLab. All rights reserved.
import pytest


@pytest.fixture(autouse=True)
def init_test():
    # init default scope
    from mmdet.utils import register_all_modules as register_det

    from mmyolo.utils import register_all_modules as register_yolo

    register_yolo(True)
    register_det(False)