Python 如何显示Caffe故障堆栈跟踪?

Python 如何显示Caffe故障堆栈跟踪?,python,c++,caffe,pycaffe,Python,C++,Caffe,Pycaffe,调试一个调用pycaffe的Python脚本,pycaffe反过来调用googleprotobuf 当我运行脚本时,会出现以下错误: F0304 10:19:58.538651 18829 io.cpp:67] Check failed: proto.SerializeToOstream(&output) *** Check failure stack trace: *** Process finished with exit code 134 (interrupted by sig

调试一个调用pycaffe的Python脚本,pycaffe反过来调用googleprotobuf

当我运行脚本时,会出现以下错误:

F0304 10:19:58.538651 18829 io.cpp:67] Check failed: proto.SerializeToOstream(&output) 
*** Check failure stack trace: ***

Process finished with exit code 134 (interrupted by signal 6: SIGABRT)

但没有失败堆栈跟踪。如何打印堆栈跟踪?

您可能需要更改环境变量的值

在运行caffe之前

export GLOG_minloglevel=2