Debug Models Using tfdbg

Display the Code, Find DebugWrapperSession

Similar to the following:

sess = tf.Session(config=config)
sess = tf_debug.LocalCLIDebugWrapperSession(sess)

In [ ]:
%%bash

cat /root/src/main/python/debug/debug_model.py

Open a Terminal through Jupyter Notebook

(Menu Bar -> Terminal -> New Terminal)

Run the following in the Terminal (GPU):

debug

Type exit to Exit the Debugger