feat: Initial commit

This commit is contained in:
fdyuandong
2025-04-17 23:14:24 +08:00
commit ca93dd0572
51 changed files with 7904 additions and 0 deletions

15
engines/hooks/builder.py Normal file
View File

@@ -0,0 +1,15 @@
"""
The code is base on https://github.com/Pointcept/Pointcept
"""
from utils.registry import Registry
HOOKS = Registry("hooks")
def build_hooks(cfg):
hooks = []
for hook_cfg in cfg:
hooks.append(HOOKS.build(hook_cfg))
return hooks