File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -188,17 +188,17 @@ Save weights only
188
188
189
189
.. code-block :: python
190
190
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' )
193
193
194
194
Save model architecture and weights(optional)
195
195
---------------------------------------------
196
196
197
197
.. code-block :: python
198
198
199
199
# 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 )
202
202
203
203
Customizing layer
204
204
==================
You can’t perform that action at this time.
0 commit comments