Skip to content

Commit 279bbdd

Browse files
Updated correct path for checkpoint and HDF5 links
Updated links with the correct path for the checkpoint link in the "What are these files section?" and also for HDF5 in the "Manually saved weights section. Earlier, the checkpoint link was showing the Saved model link and HDF5 file was showing the tensorflow.js conversion model.
1 parent 44a3c7b commit 279bbdd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/en/tutorials/keras/save_and_load.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@
485485
"id": "JtdYhvWnH2ib"
486486
},
487487
"source": [
488-
"The above code stores the weights to a collection of [checkpoint](https://www.tensorflow.org/guide/saved_model#save_and_restore_variables)-formatted files that contain only the trained weights in a binary format. Checkpoints contain:\n",
488+
"The above code stores the weights to a collection of [checkpoint](https://www.tensorflow.org/guide/checkpoint)-formatted files that contain only the trained weights in a binary format. Checkpoints contain:\n",
489489
"* One or more shards that contain your model's weights.\n",
490490
"* An index file that indicates which weights are stored in which shard.\n",
491491
"\n",
@@ -500,7 +500,7 @@
500500
"source": [
501501
"## Manually save weights\n",
502502
"\n",
503-
"Manually saving weights with the `Model.save_weights` method. By default, `tf.keras`—and `save_weights` in particular—uses the TensorFlow [checkpoint](../../guide/checkpoint.ipynb) format with a `.ckpt` extension (saving in [HDF5](https://js.tensorflow.org/tutorials/import-keras.html) with a `.h5` extension is covered in the [Save and serialize models](https://www.tensorflow.org/guide/keras/save_and_serialize#weights-only_saving_in_savedmodel_format) guide):"
503+
"Manually saving weights with the `Model.save_weights` method. By default, `tf.keras`—and `save_weights` in particular—uses the TensorFlow [checkpoint](../../guide/checkpoint.ipynb) format with a `.ckpt` extension (saving in [HDF5](https://www.tensorflow.org/guide/keras/save_and_serialize#hdf5_format) with a `.h5` extension is covered in the [Save and serialize models](https://www.tensorflow.org/guide/keras/save_and_serialize#weights-only_saving_in_savedmodel_format) guide):"
504504
]
505505
},
506506
{

0 commit comments

Comments
 (0)