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
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==================
You can’t perform that action at this time.
0 commit comments