示例#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)