tfdbg使用 Posted on 2018-07-Mon Views: Views: 123456# Let your BUILD target depend on "//tensorflow/python/debug:debug_py"# (You don't need to worry about the BUILD dependency if you are using a pip# install of open-source TensorFlow.)from tensorflow.python import debug as tf_debugsess = tf_debug.LocalCLIDebugWrapperSession(sess)