MCPcopy Create free account
hub / github.com/ElliotVincent/SitsSCD / project_init

Function project_init

train.py:58–62  ·  view source on GitHub ↗
(cfg)

Source from the content-addressed store, hash-verified

56
57
58def 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
65def callback_init(cfg):

Callers 1

hydra_boilerplateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected