madara (6) [Avatar] Offline

first thanks for this great book!

but why using ""model_from_json"" method to save and load keras trained model?
in this way You need to save also weights, ...and reload them

the best way to do that is simply use 'save' and 'load_model' methods:

The save function saves:

'The architecture of the model, allowing to re-create the model.'
'The weights of the model.'
'The training configuration (loss, optimizer).'

hobs (58) [Avatar] Offline
Interesting. I wasn't aware that `.save()` and `model_from_json()` did not behave the same way. We'll look into it.