tensorflow_cookbook icon indicating copy to clipboard operation
tensorflow_cookbook copied to clipboard

How to save KNN model and use it next testset?

Open ucasiggcas opened this issue 5 years ago • 1 comments

Hello, Have tried to save the model use tf.train.Saver(),but end with failure ValueError: No variables to save Could U propose some way to solve it ? Thx

ucasiggcas avatar Aug 20 '18 07:08 ucasiggcas

Hi @ucasiggcas , Thanks for the feature request. You're correct that we should have a way to do saving/loading. I'll see what I can do in the next month or so. Currently I'm wrapped up in a rewrite for version 2 of the book, but will get to this soon.

nfmcclure avatar Aug 20 '18 16:08 nfmcclure