Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check failed: a <= b (0 vs. -1.19209e-07) #11

Open
fnzhan opened this issue Jul 8, 2017 · 5 comments
Open

Check failed: a <= b (0 vs. -1.19209e-07) #11

fnzhan opened this issue Jul 8, 2017 · 5 comments

Comments

@fnzhan
Copy link

fnzhan commented Jul 8, 2017

I am run it to train, but error happened in this step: solver = caffe.SGDSolver(caffe_root + 'models/VGGNet/ICDAR2017/SSD_300x300/solver.prototxt')

the trace stack is :
F0708 18:54:26.167244 20822 # **math_functions.cpp:250] Check failed: a <= b (0 vs. -1.19209e-07)
*** Check failure stack trace: *****
@ 0x7f84859db5ad google::LogMessage::Fail()
@ 0x7f84859dd413 google::LogMessage::SendToLog()
@ 0x7f84859db13b google::LogMessage::Flush()
@ 0x7f84859dddfe google::LogMessageFatal::~LogMessageFatal()
@ 0x7f8485fdc0e2 caffe::caffe_rng_uniform<>()
@ 0x7f848600ac36 caffe::SampleBBox()
@ 0x7f848600af80 caffe::GenerateSamples()
@ 0x7f848600b1b4 caffe::GenerateBatchSamples()
@ 0x7f8485f8ec28 caffe::AnnotatedDataLayer<>::load_batch()
@ 0x7f8485e90f2a caffe::BasePrefetchingDataLayer<>::InternalThreadEntry()

I have search a lot, still unresolved. Have you meet this problem? @chenxinpeng

@nszceta
Copy link

nszceta commented Nov 9, 2017

@fnzhan were you able to identify the problem?

@didulle
Copy link

didulle commented Jan 15, 2018

Have you fixed that issue? I have exactly the same issue

@Gesalat
Copy link

Gesalat commented Jan 18, 2018

@didulle
I had the same problem (with original caffe ssd from wei liu). What I tried:
Comment line 250 in src/caffe/util/math_functions.cpp:
// CHECK_LE(a, b);
and then recompile pycaffe with
make py

The idea comes from http://blog.csdn.net/gxb0505/article/details/73702451 (I don' speek Chinese but Google --> Translate this page does the job for me)

But I don't get the training started (Now the problem is "Data layer prefetch queue empty") and I am not sure if this is caused by the rude method I used to get rid of the previous error. Maybe you could try commenting&compiling and report if it works out.

@Gesalat
Copy link

Gesalat commented Jan 18, 2018

Another idea is #669 of original ssd caffe.

@deblauwetom
Copy link

FYI, for me, this was the solution:
weiliu89/caffe#669 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants