We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1ba57a commit 774fbc8Copy full SHA for 774fbc8
site/en/tutorials/distribute/keras.ipynb
@@ -363,7 +363,7 @@
363
"# Define the checkpoint directory to store the checkpoints.\n",
364
"checkpoint_dir = './training_checkpoints'\n",
365
"# Define the name of the checkpoint files.\n",
366
- "checkpoint_prefix = os.path.join(checkpoint_dir, \"ckpt_{epoch}.weights.h5\")"
+ "checkpoint_prefix = os.path.join(checkpoint_dir, \"ckpt_{epoch:04d}.weights.h5\")"
367
]
368
},
369
{
0 commit comments