F0424 00:13:37.918666 20759 syncedmem.hpp:33] Check failed: *ptr host allocation of size 191102976 failed
*** Check failure stack trace: ***
@ 0x7f93b47455cd google::LogMessage::Fail()
@ 0x7f93b4747433 google::LogMessage::SendToLog()
@ 0x7f93b474515b google::LogMessage::Flush()
@ 0x7f93b4747e1e google::LogMessageFatal::~LogMessageFatal()
@ 0x7f93b4c02a09 caffe::SyncedMemory::mutable_cpu_data()
@ 0x7f93b4c7abb2 caffe::Blob<>::mutable_cpu_data()
@ 0x7f93b4b5a210 caffe::ConvolutionLayer<>::Forward_cpu()
@ 0x7f93b4c33270 caffe::Net<>::ForwardFromTo()
@ 0x7f93b4c33447 caffe::Net<>::Forward()
@ 0x7f93b4c2b238 caffe::Solver<>::Step()
@ 0x7f93b4c2bdda caffe::Solver<>::Solve()
@ 0x40a064 train()
@ 0x406fa0 main
@ 0x7f93b36b5830 __libc_start_main
@ 0x4077c9 _start
@ (nil) (unknown)
Aborted (core dumped)
编译caffe时报了这个错误,经过各种查找资料发现了问题所在,文件中使用的******.prototxt 的路径与当前的真实文件存放的位置不一致,导致运行时出错,出现这种问题,只要修改对了路径绝对的能编译过去......
Check failure stack trace
最新推荐文章于 2021-12-12 20:51:42 发布