File size: 305 Bytes
57746f1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
"""
Model Builder
Author: Xiaoyang Wu ([email protected])
Please cite our work if the code is helpful to you.
"""
from pointcept.utils.registry import Registry
MODELS = Registry("models")
MODULES = Registry("modules")
def build_model(cfg):
"""Build models."""
return MODELS.build(cfg)
|