(args, entity, exp_name, project_name, wandb_dir)
| 65 | |
| 66 | |
| 67 | def 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 | |
| 80 | def log(stats, step=None): |
nothing calls this directly
no outgoing calls
no test coverage detected