(path: Optional[str])
| 27 | |
| 28 | # check if any path is missing |
| 29 | def missing(path: Optional[str]) -> bool: |
| 30 | return (path is None) or (not os.path.exists(path)) |
| 31 | |
| 32 | # resolve latest checkpoints if requested or any path missing |
| 33 | base_dir = os.getcwd() |