(namespace)
| 22 | |
| 23 | |
| 24 | def namespace_to_dict(namespace): |
| 25 | return { |
| 26 | k: namespace_to_dict(v) if isinstance(v, argparse.Namespace) else v |
| 27 | for k, v in vars(namespace).items() |
| 28 | } |
| 29 | |
| 30 | |
| 31 | def get_max_ckpt_from_dir(dir_path): |
nothing calls this directly
no outgoing calls
no test coverage detected