Skip to content

Commit

Permalink
Update site/en/tutorials/distribute/keras.ipynb
Browse files Browse the repository at this point in the history
Make names sortable.
  • Loading branch information
MarkDaoust authored Sep 11, 2024
1 parent f1ba57a commit 774fbc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/en/tutorials/distribute/keras.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@
"# Define the checkpoint directory to store the checkpoints.\n",
"checkpoint_dir = './training_checkpoints'\n",
"# Define the name of the checkpoint files.\n",
"checkpoint_prefix = os.path.join(checkpoint_dir, \"ckpt_{epoch}.weights.h5\")"
"checkpoint_prefix = os.path.join(checkpoint_dir, \"ckpt_{epoch:04d}.weights.h5\")"
]
},
{
Expand Down

0 comments on commit 774fbc8

Please sign in to comment.