Example #1
0
def build(config):
    """
    building transform is different from all above,
    it needs combine components of transforms
    """
    transforms = []
    for trans_config in config:
        transforms.append(_build(trans_config, TRANSFORMS))
    return trans.Compose(transforms)
Example #2
0
def build(config):
    return _build(config, TARGET_ASSIGNERS)
Example #3
0
def build(config):
    return _build(config, SAMPLERS)
Example #4
0
def build(config, optimizer):
    return _build(config, SCHEDULERS, optimizer)
Example #5
0
def build(config):
    return _build(config, ANCHOR_GENERATORS)
Example #6
0
def build(config, transform, training):

    return _build(config, DATASETS, transform, training)
Example #7
0
def build(config):
    return _build(config, BBOX_CODERS)
Example #8
0
def build(config):
    return _build(config, FEATURE_EXTRACTORS)
Example #9
0
def build(config):
    return _build(config, MATCHERS)
Example #10
0
def build(config, model, logger=None):
    return _build(config, OPTIMIZERS, model, logger)
Example #11
0
def build(config):
    return _build(config, DETECTORS)
Example #12
0
def build(config):
    return _build(config, SIMILARITY_CALCS)