【发布时间】:2016-06-13 14:55:59
【问题描述】:
我已经成功安装了 caffe。所有测试都运行良好。 当我尝试使用 hdf5 数据训练示例(https://github.com/tenstep/DeepModel)时出现错误。我在某个论坛上读到它与 glog 有关。
*** Aborted at 1465829389 (unix time) try "date -d @1465829389" if you are using GNU date ***
PC: @ 0x7fb5bd59d754 (unknown)
*** SIGSEGV (@0xc0) received by PID 17515 (TID 0x7fb5bf7ae780) from PID 192; stack trace: ***
@ 0x7fb5bd57fd40 (unknown)
@ 0x7fb5bd59d754 (unknown)
@ 0x7fb5bd5a6147 (unknown)
@ 0x7fb5befc9cd9 caffe::DeepHandModelLayer<>::LayerSetUp()
@ 0x7fb5bf049515 caffe::Net<>::Init()
@ 0x7fb5bf04a3b5 caffe::Net<>::Net()
@ 0x7fb5befd472a caffe::Solver<>::InitTrainNet()
@ 0x7fb5befd593c caffe::Solver<>::Init()
@ 0x7fb5befd5c6a caffe::Solver<>::Solver()
@ 0x7fb5bf02d3e3 caffe::Creator_SGDSolver<>()
@ 0x411666 caffe::SolverRegistry<>::CreateSolver()
@ 0x40ab20 train()
@ 0x40852c main
@ 0x7fb5bd56aec5 (unknown)
@ 0x408cfd (unknown)
@ 0x0 (unknown)
Segmentation fault
【问题讨论】:
-
跟踪是由
glog生成的,但分段错误似乎来自 caffe 本身。您能否发布描述您的 hdf5 数据创建和您正在使用的 prototxt 的最小示例?
标签: segmentation-fault caffe glog