MCPcopy
hub / github.com/Yuanshi9815/OminiControl / get_config

Function get_config

omini/train_flux/trainer.py:26–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24
25
26def get_config():
27 config_path = os.environ.get("OMINI_CONFIG")
28 assert config_path is not None, "Please set the OMINI_CONFIG environment variable"
29 with open(config_path, "r") as f:
30 config = yaml.safe_load(f)
31 return config
32
33
34def init_wandb(wandb_config, run_name):

Callers 5

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected