MCPcopy Create free account
hub / github.com/CHENGY12/PLOT / print_args

Function print_args

plot-pp/train.py:29–40  ·  view source on GitHub ↗
(args, cfg)

Source from the content-addressed store, hash-verified

27
28
29def print_args(args, cfg):
30 print("***************")
31 print("** Arguments **")
32 print("***************")
33 optkeys = list(args.__dict__.keys())
34 optkeys.sort()
35 for key in optkeys:
36 print("{}: {}".format(key, args.__dict__[key]))
37 print("************")
38 print("** Config **")
39 print("************")
40 print(cfg)
41
42
43def reset_cfg(cfg, args):

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected