open-mmlab / mmdetection

OpenMMLab Detection Toolbox and Benchmark
https://mmdetection.readthedocs.io
Apache License 2.0
29.14k stars 9.38k forks source link

import mmdet config in pure python style #10629

Open wep21 opened 1 year ago

wep21 commented 1 year ago

I found out the latest mm library supports config in pure python style. Is it possible to import mmdet config in pure python style like

if '_base_':
    from mmdet.configs._base_.default_runtime import *

equivalent to

_base_ = ['mmdet::_base_/default_runtime.py']
wep21 commented 1 year ago

configs is excluded here.