Add causal person fusion and MuVAP stage-3 baselines

This commit is contained in:
Xin Wang
2026-09-10 06:54:22 +08:00
parent 0534c9d3d0
commit d426b4740a
225 changed files with 27716 additions and 119 deletions
+17
View File
@@ -0,0 +1,17 @@
import yaml
def load_config(path, module):
with open(path) as file:
config = yaml.safe_load(file)
required = {"checkpoint_dir", module}
missing = required.difference(config)
if missing:
raise ValueError(f"Missing config keys: {sorted(missing)}")
return config
def init_yaml_config(path):
with open(path) as file:
return yaml.safe_load(file)