YYYYYYUUU's picture
Backup FULL poplab work tree (source, configs, libs, scripts) excl. .pth
08cde47 verified
Raw
History Blame Contribute Delete
332 Bytes
"""
Model Builder
Author: Xiaoyang Wu (xiaoyang.wu.cs@gmail.com)
Please cite our work if the code is helpful to you.
"""
import copy
from pointcept.utils.registry import Registry
MODELS = Registry("models")
MODULES = Registry("modules")
def build_model(cfg):
"""Build models."""
return MODELS.build(copy.deepcopy(cfg))