Spaces:
Runtime error
Runtime error
File size: 275 Bytes
51f6859 |
1 2 3 4 5 6 7 8 9 10 |
# Copyright (c) OpenMMLab. All rights reserved.
from mmcv.utils import Registry, build_from_cfg
MATCH_COST = Registry('Match Cost')
def build_match_cost(cfg, default_args=None):
"""Builder of IoU calculator."""
return build_from_cfg(cfg, MATCH_COST, default_args)
|