mirror of
https://github.com/open-mmlab/mmclassification.git
synced 2025-06-03 21:53:55 +08:00
9 lines
226 B
Python
9 lines
226 B
Python
# Copyright (c) OpenMMLab. All rights reserved.
|
|
from mmcv.utils import Registry, build_from_cfg
|
|
|
|
AUGMENT = Registry('augment')
|
|
|
|
|
|
def build_augment(cfg, default_args=None):
|
|
return build_from_cfg(cfg, AUGMENT, default_args)
|