I am working with Tensorflow version 1.4, and I want to debug my train()
function.
In this link https://www.tensorflow.org/programmers_guide/debugger#debugg
The default is set for working in command line, if you use IDE such as Pycharm the simplest solution is to change UI type.
Try:
hooks = [tf_debug.LocalCLIDebugHook(ui_type="readline")]
instead of:
hooks = [tf_debug.LocalCLIDebugHook()]
In case you use Pycharm, add to the configuration parameters --debug