MCPcopy Create free account
hub / github.com/PolymathicAI/AstroCLIP / main_cli

Function main_cli

astroclip/trainer.py:44–52  ·  view source on GitHub ↗
(args: ArgsType = None, run: bool = True)

Source from the content-addressed store, hash-verified

42
43
44def main_cli(args: ArgsType = None, run: bool = True):
45 cli = WrappedLightningCLI(
46 save_config_kwargs={"overwrite": True},
47 save_config_callback=CustomSaveConfigCallback,
48 parser_kwargs={"parser_mode": "omegaconf"},
49 args=args,
50 run=run,
51 )
52 return cli
53
54
55if __name__ == "__main__":

Callers 1

trainer.pyFile · 0.70

Calls 1

WrappedLightningCLIClass · 0.85

Tested by

no test coverage detected