def build_dataset(cfg): """Build detector.""" return build(cfg, DATASETS)
def build_pipeline(cfg): """Build detector.""" return build(cfg, PIPELINES)
def build_loss(cfg): """Build detector.""" return build(cfg, LOSSES)
def build_parnet(cfg, train_cfg=None, test_cfg=None): """Build detector.""" return build(cfg, PARNETS)
def build_classifier(cfg): """Build detector.""" return build(cfg, CLASSIFIERS)
def build_bockbone(cfg): """Build detector.""" return build(cfg, BOCKBONES)