Пример #1
0
def build_dataset(cfg):
    """Build detector."""
    return build(cfg, DATASETS)
Пример #2
0
def build_pipeline(cfg):
    """Build detector."""
    return build(cfg, PIPELINES)
Пример #3
0
def build_loss(cfg):
    """Build detector."""
    return build(cfg, LOSSES)
Пример #4
0
def build_parnet(cfg, train_cfg=None, test_cfg=None):
    """Build detector."""
    return build(cfg, PARNETS)
Пример #5
0
def build_classifier(cfg):
    """Build detector."""
    return build(cfg, CLASSIFIERS)
Пример #6
0
def build_bockbone(cfg):
    """Build detector."""
    return build(cfg, BOCKBONES)