caffe-windows icon indicating copy to clipboard operation
caffe-windows copied to clipboard

GFlags crashes in Caffe.exe Debug mode and Test_all.exe failed.

Open artzers opened this issue 7 years ago • 1 comments

Hello, I have built caffe in windows 10 cuda 9.0. I build both debug and release. I try to debug caffe.exe and it crashes when step into "gflags::SetVersionString(AS_STRING(CAFFE_VERSION));" or "gflags::SetUsageMessage". It shows bad_alloc.

And I run test_all.exe which is built in Release mode. Some tests fail and finnally crashes: “F0706 23:08:54.869709 12912 layer.hpp:375] Check failed: ExactNumBottomBlobs() == bottom.size() (4 vs. 3) ContrastiveLoss Layer takes 4 bottom blob(s) as input. *** Check failure stack trace: ***”

Could you fix these bugs? Thank you.

artzers avatar Jul 06 '18 15:07 artzers

try to rename gflagsd.dll as gflags.dll

shineleex avatar Nov 19 '18 09:11 shineleex