MCPcopy Create free account
hub / github.com/CompVis/zigma / initialize

Function initialize

wandb_utils.py:67–77  ·  view source on GitHub ↗
(args, entity, exp_name, project_name, wandb_dir)

Source from the content-addressed store, hash-verified

65
66
67def initialize(args, entity, exp_name, project_name, wandb_dir):
68 config_dict = OmegaConf.to_container(args, resolve=True)
69 # wandb.login(key=args.wandb.key)
70 wandb.init(
71 project=project_name,
72 name=exp_name,
73 config=config_dict,
74 dir=wandb_dir,
75 resume="allow",
76 mode="online",
77 )
78
79
80def log(stats, step=None):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected