<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 Debug Models Using tfdbg
Open a Terminal through Jupyter Notebook
(Menu Bar -> Terminal -> New Terminal)
Run the Next Cell to Display the Code
Find the DebugWrapper around the tf.Session
sess = tf.Session(config=config)
sess = tf_debug.LocalCLIDebugWrapperSession(sess)
Step1:  Run the following in the Terminal (CPU)
<ASSISTANT_TASK:>
Python Code:
%%bash
cat /root/src/main/python/debug/debug_model_cpu.py
Explanation: Debug Models Using tfdbg
Open a Terminal through Jupyter Notebook
(Menu Bar -> Terminal -> New Terminal)
Run the Next Cell to Display the Code
Find the DebugWrapper around the tf.Session
sess = tf.Session(config=config)
sess = tf_debug.LocalCLIDebugWrapperSession(sess)
End of explanation
%%bash
cat /root/src/main/python/debug/debug_model_gpu.py
Explanation: Run the following in the Terminal (CPU):
python /root/src/main/python/debug/debug_model_cpu.py
End of explanation
<END_TASK>