mirror of
https://github.com/open-mmlab/mmclassification.git
synced 2025-06-03 21:53:55 +08:00
8 lines
178 B
Python
8 lines
178 B
Python
|
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)
|