mirror of
https://github.com/aigc3d/LAM_Audio2Expression.git
synced 2026-02-05 01:49:23 +08:00
16 lines
257 B
Python
16 lines
257 B
Python
"""
|
|
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
|