Skip to content

Commit 8f3fee4

Browse files
authored
Update get_start_model.rst
1 parent 6ecedb2 commit 8f3fee4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/user/get_start_model.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,17 +188,17 @@ Save weights only
188188

189189
.. code-block:: python
190190
191-
MLP.save_weights('./model_weights.h5') # by default, file will be in hdf5 format
192-
MLP.load_weights('./model_weights.h5')
191+
MLP.save_weights('model_weights.h5') # by default, file will be in hdf5 format
192+
MLP.load_weights('model_weights.h5')
193193
194194
Save model architecture and weights(optional)
195195
---------------------------------------------
196196

197197
.. code-block:: python
198198
199199
# When using Model.load(), there is no need to reimplement or declare the architecture of the model explicitly in code
200-
MLP.save('./model.h5', save_weights=True)
201-
MLP = Model.load('./model.h5', load_weights=True)
200+
MLP.save('model.h5', save_weights=True)
201+
MLP = Model.load('model.h5', load_weights=True)
202202
203203
Customizing layer
204204
==================

0 commit comments

Comments
 (0)