Skip to content

Commit 774fbc8

Browse files
authored
Update site/en/tutorials/distribute/keras.ipynb
Make names sortable.
1 parent f1ba57a commit 774fbc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/en/tutorials/distribute/keras.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@
363363
"# Define the checkpoint directory to store the checkpoints.\n",
364364
"checkpoint_dir = './training_checkpoints'\n",
365365
"# Define the name of the checkpoint files.\n",
366-
"checkpoint_prefix = os.path.join(checkpoint_dir, \"ckpt_{epoch}.weights.h5\")"
366+
"checkpoint_prefix = os.path.join(checkpoint_dir, \"ckpt_{epoch:04d}.weights.h5\")"
367367
]
368368
},
369369
{

0 commit comments

Comments
 (0)