-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
Testcase failed during make runtest #1294
Comments
I have the similar problem: also seeking help now~~ |
Same issue as for @moegitree. Did you find any causes? |
The signbits bug should have been fixed by #1264 . Are you using the master branch or the dev branch? If you still encounter bugs after running the dev head, kindly let us know. Please attach the full make runtest result so we can see what went wrong. |
The full runtest log is here: https://gist.github.com/anonymous/1783e785315e63f380b4 It seems there are some precision issues:
Though in case of the following failures, I even can't find what's wrong, because expected and actual data seems to be equal. Or may be it is printed with some rounding.
Also something is wrong with
I compiled caffe with |
Hi, I just want to update on the failed test, I got these 2 failures when run 'make runtest' : [----------] 8 tests from CuDNNNeuronLayerTest/1, where TypeParam = double [----------] 8 tests from CuDNNNeuronLayerTest/0, where TypeParam = float The full log of these 2 errors is at http://pastebin.com/QD679cGj. My system is Ubuntu 14.04, CUDA 6.5, cuDNN 6.5, opencv 2.4.9 and caffe dev branch |
OK, whoever wrote that TestReLUWithNegativeSlopeCuDNN function should be more careful... The test case was clearly wrong :( I am going to fix it with a quick PR. |
Fixed. |
exactly the same issue as observed in @stas-sl . the two sgnbit error disappear when switch to dev branch. ,@stas-sl, did you find he reason for the issue? BTW, I used Ubuntu 12, 32 bit. Is this cause the problem? [----------] Global test environment tear-down |
Full log please? I think most likely it is some numerical precision problems. |
@cmis91, yes, I also have 32-bit Ubuntu. I didn't find the reason, but I didn't have any convergence issues because of that. |
hi, when i run make runtest on my computer (ubuntu12.04) ,I get this long [ RUN ] MemoryDataLayerTest/0.TestSetBatchSize [----------] 3 tests from ThresholdLayerTest/1, where TypeParam = caffe::DoubleCPU |
Hi, I have the same problem that stas-si, when I do make runtest I've got this http://pastebin.com/KvubSdsP |
I met some problems when trying execute "make runtest" . The caffe is compiled on Ubuntu12.04 with CPU only. Detail just listed below: OpenCV Error: Assertion failed (k == STD_VECTOR_MAT) in getMat, file /build/buildd/opencv-2.3.1/modules/core/src/matrix.cpp, line 918 [ FAILED ] 12 tests, listed below: |
@shuimulinxi OpenCV Error: Assertion failed (k == STD_VECTOR_MAT) in getMat, file /build/buildd/opencv-2.3.1/modules/core/src/matrix.cpp, line 918 I chage the Makefile.config Succesful!!! notes: when you compile once again, please execute "make clean" first |
[----------] 5 tests from ImageDataLayerTest/1, where TypeParam = caffe::CPUDevice [----------] Global test environment tear-down 1 FAILED TEST why this error? |
Hi, I am trying execute "make runtest" and met some problems.
The caffe is successfully compiled on Ubuntu12.04 with CPU only.
When executing the testcases, it shows like this:
src/caffe/test/test_math_functions.cpp:109: Failure
Value of: x[i] < 0 ? 1 : 0
Actual: 1
Expected: signbits[i]
Which is: 512
..................
[ PASSED ] 450 tests.
[ FAILED ] 7 tests, listed below:
[ FAILED ] MathFunctionsTest/0.TestSgnbitCPU, where TypeParam = float
[ FAILED ] MathFunctionsTest/1.TestSgnbitCPU, where TypeParam = double
[ FAILED ] MathFunctionsTest/1.TestHammingDistanceCPU, where TypeParam = double
[ FAILED ] EltwiseLayerTest/0.TestProd, where TypeParam = caffe::FloatCPU
[ FAILED ] EltwiseLayerTest/0.TestSum, where TypeParam = caffe::FloatCPU
[ FAILED ] EltwiseLayerTest/1.TestProd, where TypeParam = caffe::DoubleCPU
[ FAILED ] EltwiseLayerTest/1.TestSum, where TypeParam = caffe::DoubleCPU
I am a new learner of linux and caffe. Great thanks for any help.
The text was updated successfully, but these errors were encountered: