(cfg)
| 56 | |
| 57 | |
| 58 | def project_init(cfg): |
| 59 | print("Working directory set to {}".format(os.getcwd())) |
| 60 | directory = cfg.checkpoints.dirpath |
| 61 | os.makedirs(directory, exist_ok=True) |
| 62 | copyfile(".hydra/config.yaml", join(directory, "config.yaml")) |
| 63 | |
| 64 | |
| 65 | def callback_init(cfg): |