L-DPT / ldpt /models /builder.py
pointcept-bot's picture
L-DPT demo (ZeroGPU)
eb9e0f2 verified
Raw History Blame Contribute Delete
297 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 ldpt.utils.registry import Registry
MODELS = Registry("models")
def build_model(cfg):
"""Build models."""
return MODELS.build(copy.deepcopy(cfg))