We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e624de1 commit 2de24beCopy full SHA for 2de24be
1 file changed
src/art/local/checkpoints.py
@@ -22,8 +22,6 @@ def delete_checkpoints(output_dir: str, excluding: list[int]) -> None:
22
23
def get_last_checkpoint_dir(output_dir: str) -> str | None:
24
step = get_step_from_dir(output_dir)
25
- if step == 0:
26
- return None
27
28
checkpoint_dir = os.path.join(output_dir, "checkpoints", f"{step:04d}")
29
if os.path.exists(checkpoint_dir):
0 commit comments