happynear / caffe-windows

Configure Caffe in one hour for Windows users.
Other
1.32k stars 649 forks source link

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

Open artzers opened 6 years ago

artzers commented 6 years ago

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.

shineleex commented 5 years ago

try to rename gflagsd.dll as gflags.dll