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

FAILED SigmoidCrossEntropyLossLayerTest #40

Open
exampen opened this issue Aug 24, 2017 · 3 comments
Open

FAILED SigmoidCrossEntropyLossLayerTest #40

exampen opened this issue Aug 24, 2017 · 3 comments

Comments

@exampen
Copy link

exampen commented Aug 24, 2017

I run the HED on Ubuntu+caffe+CPU on computer and came across the following errors when make runtest, I ignoreed them and went on, It happened to ImportError: No module named _caffe, what should I do ?

[----------] Global test environment tear-down
[==========] 872 tests from 133 test cases ran. (19153 ms total)
[ PASSED ] 868 tests.
[ FAILED ] 4 tests, listed below:
[ FAILED ] SigmoidCrossEntropyLossLayerTest/0.TestGradient, where TypeParam = caffe::CPUDevice
[ FAILED ] SigmoidCrossEntropyLossLayerTest/0.TestSigmoidCrossEntropyLoss, where TypeParam = caffe::CPUDevice
[ FAILED ] SigmoidCrossEntropyLossLayerTest/1.TestSigmoidCrossEntropyLoss, where TypeParam = caffe::CPUDevice
[ FAILED ] SigmoidCrossEntropyLossLayerTest/1.TestGradient, where TypeParam = caffe::CPUDevice

4 FAILED TESTS
Makefile:470: recipe for target 'runtest' failed
make: *** [runtest] Error 1

@mikirui
Copy link

mikirui commented Sep 7, 2017

@exampen I think the problem "ImportError: No module named _caffe" happened because you haven't set up pycaffe correctly, you can make it with "make pycaffe -j4"

@exampen
Copy link
Author

exampen commented Sep 8, 2017

Thanks, and are you sure that I should make pycaffe before make runtest?

@mikirui
Copy link

mikirui commented Sep 8, 2017

@exampen no, I think there is no relationship between "make pycaffe" and "make runtest". You can run the test python scripts well after "make pycaffe" even you failed to "make runtest", but I'm not sure whether there will be errors when training.

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

2 participants