Saving wide and deep tensorflow model
<p>I'm playing with <a href="https://github.com/tensorflow/tensorflow/blob/master/tensorflow/examples/learn/wide_n_deep_tutorial.py" rel="nofollow">Wide and Deep learning example from Tensorflow</a>. I would like to save the trained classifier to be used for prediction tasks later on but I don't really see how. The <code>DNNLinearCombinedClassifier</code> doesn't have a save method available and pickling the object fails as well.</p>

<p>Any ideas how to save it?</p>

<p>Are you looking for <a href="https://www.tensorflow.org/versions/r0.10/how_tos/variables/index.html#saving-and-restoring" rel="nofollow">https://www.tensorflow.org/versions/r0.10/how_tos/variables/index.html#saving-and-restoring</a>?</p>

<p>Specifically <strong>Saving Variables</strong> and <strong>Restoring Variables</strong>.  Additionally, you can use the <strong>Checkpoint Files</strong> to save the weights periodically (useful if your computer stops training halfway through, you don't have to start from the beginning).</p>

python tensorflow