tensorflow / skflow

Simplified interface for TensorFlow (mimicking Scikit Learn) for Deep Learning
Apache License 2.0
3.18k stars 439 forks source link

Additional Options for Saver #70

Closed terrytangyuan closed 8 years ago

terrytangyuan commented 8 years ago

This might come in handy for users.

Question: can this tf.train.Saver be initialized when save() is called or is it must be initialized before session is created?

ilblackdragon commented 8 years ago

So Saver actually creates nodes in the graph. And it's preferred to make all nodes in the graph before session is initialized (there are few reasons, one of the is compatibility with one internal tool that may get released soon).

codecov-io commented 8 years ago

Current coverage is 92.35%

Merging #70 into master will increase coverage by +0.02% as of d8c068b

@@            master     #70   diff @@
======================================
  Files           34      34       
  Stmts         1070    1072     +2
  Branches         0       0       
  Methods          0       0       
======================================
+ Hit            988     990     +2
  Partial          0       0       
  Missed          82      82       

Review entire Coverage Diff as of d8c068b

Powered by Codecov. Updated on successful CI builds.