while you defined the global step operator, you can get value of it by sess.run(global_step_op)
global_step
(if you save checkpoints regularly in your code, that is), but unless you somehow keep track of how many iterations you already performed, you will not know how many iterations are left after the restart. Sometimes you really want your model to be trained exactly n
iterations and not n
plus unknown amount before crash
. So in my opinion, this is more of a practicality than a theoretical machine learning concept.while you defined the global step operator, you can get value of it by sess.run(global_step_op)