Skip to content Skip to sidebar Skip to footer

How To Use Tensorflow Debugging Tool Tfdbg On Tf.estimator In Tensorflow?

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#debugging_tf-learn_estimators_

Solution 1:

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

Post a Comment for "How To Use Tensorflow Debugging Tool Tfdbg On Tf.estimator In Tensorflow?"