lanl / SEPIA

Simulation-Enabled Prediction, Inference, and Analysis: physics-informed statistical learning.
Other
29 stars 6 forks source link

save/load models #5

Closed natalieklein229 closed 4 years ago

natalieklein229 commented 4 years ago

pickle?

natalieklein229 commented 4 years ago

For now, pickling the model object is OK, just may run into issues if we do change any attributes of the model class in future and you load an old pickled model

natalieklein229 commented 4 years ago

There are now methods in SepiaModel save_model_info() and restore_model_info()