Skip to content

Commit

Permalink
Fix list format and typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
donkirkby committed Aug 30, 2018
1 parent 28863de commit b35f7a9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions samples/core/tutorials/keras/save_and_restore_models.ipynb
Expand Up @@ -582,8 +582,9 @@
"cell_type": "markdown",
"source": [
"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",
"\n",
"* One or more shards that contain your model's weights. \n",
"* An index file that indicates which weights are stored in a which shard. \n",
"* An index file that indicates which weights are stored in which shard. \n",
"\n",
"If you are only training a model on a single machine, you'll have one shard with the suffix: `.data-00000-of-00001`"
]
Expand Down Expand Up @@ -739,7 +740,7 @@
"* The model's configuration(architecture)\n",
"* The optimizer configuration\n",
"\n",
"Keras saves models by inspecting the architecture. Currently, it is not able to save TensorFlow optimizers (from `tf.train`). When using those you will need to re-compile the model after loading, and you will loose the state of the optimizer.\n"
"Keras saves models by inspecting the architecture. Currently, it is not able to save TensorFlow optimizers (from `tf.train`). When using those you will need to re-compile the model after loading, and you will lose the state of the optimizer.\n"
]
},
{
Expand All @@ -761,4 +762,4 @@
]
}
]
}
}

0 comments on commit b35f7a9

Please sign in to comment.