blei-lab / edward

A probabilistic programming language in TensorFlow. Deep generative models, variational inference.
http://edwardlib.org
Other
4.83k stars 760 forks source link

Write tutorial on how to save and restore both model and the TensorFlow graph #701

Open dustinvtran opened 7 years ago

dustinvtran commented 7 years ago

The process is straightforward. See, e.g., test_saver.py. It's worth having an example that users can build from as a template—either as a tutorial or written as a section in some other location of the docs.

The tutorial should provide links to the following references:

gnublet commented 6 years ago

Can I try this one?

dustinvtran commented 6 years ago

Sure, feel free. Happy to provide feedback if you want to submit a PR while still unfinished.

pswpswpsw commented 6 years ago

actually if one just simply want the coefficient parameter. I think it is faster and much, much much more clean to use the tensorflow save model API.