MCPcopy Create free account
hub / github.com/AiuniAI/Unique3D / parse_structured

Function parse_structured

custum_3d_diffusion/trainings/utils.py:4–6  ·  view source on GitHub ↗
(fields, cfg)

Source from the content-addressed store, hash-verified

2
3
4def parse_structured(fields, cfg) -> DictConfig:
5 scfg = OmegaConf.structured(fields(**cfg))
6 return scfg
7
8
9def load_config(fields, config, extras=None):

Callers 1

load_configFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected