We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92b1082 commit 6c514a6Copy full SHA for 6c514a6
src/openpi/training/checkpoints.py
@@ -48,8 +48,8 @@ def initialize_checkpoint_dir(
48
),
49
)
50
51
- # special case: the checkpoint directory exists and the user requests to resume training, but the training run did
52
- # not get to the first checkpoint saved. in this case, we don't actually want the train script to try and restore a
+ # Special case: the checkpoint directory exists and the user requests to resume training, but the training run did
+ # not get to the first checkpoint saved. In this case, we don't actually want the train script to try and restore a
53
# checkpoint, since it will fail.
54
if resuming and tuple(mngr.all_steps()) in [(), (0,)]:
55
logging.info("Checkpoint directory exists, but does not contain any checkpoints. Aborting resume.")
0 commit comments