"...resnet50_tensorflow.git" did not exist on "182e69756a1f3711f6ffac49a9277d96694b86f9"
Unverified Commit 3486a92a authored by Zachary Mueller's avatar Zachary Mueller Committed by GitHub
Browse files

Fix savedir for by epoch (#16996)

parent 5af5735f
......@@ -678,7 +678,7 @@ def main():
)
if args.checkpointing_steps == "epoch":
output_dir = f"step_{completed_steps}"
output_dir = f"epoch_{epoch}"
if args.output_dir is not None:
output_dir = os.path.join(args.output_dir, output_dir)
accelerator.save_state(output_dir)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment