main_loop_tf icon indicating copy to clipboard operation
main_loop_tf copied to clipboard

Swap sess and unhookedsess

Open fvisin opened this issue 7 years ago • 0 comments

People tend to use self.sess in validation, which causes the hooks to be run. When the validation hook is among the hooks this causes an infinite loop.

It's probably better to change self.sess to become self.sess_with_hooks and make self.unhookedsess become self.sess. Will work on it as soon as I can, but happy to accept PRs.

fvisin avatar Feb 07 '18 13:02 fvisin