Open exampen opened 6 years ago
@exampen Hello. The layer of SigmoidCrossEntropyLossLayer in RCF has been modified, but the test code of SigmoidCrossEntropyLossLayerTest has not been changed. Thus, you needn't bother about this.
Much thanks for your reply! I ignored these errors like you said, however, when I ran the code 'cd $ROOT_DIR/examples/rcf/./train.sh', I met another error, namely,'ImportError: no module named _caffe'. what should I do then? hope to hear from you soon
Have you built pycaffe by 'make pycaffe'? You should run this command after 'make caffe'.
When I 'make pycaffe', I ran across another error like this:
acel@ubuntu:~/Downloads/rcf$ make pycaffe CXX/LD -o python/caffe/_caffe.so python/caffe/_caffe.cpp python/caffe/_caffe.cpp:1:52: fatal error: Python.h: No such file or directory compilation terminated. Makefile:501: recipe for target 'python/caffe/_caffe.so' failed make: *** [python/caffe/_caffe.so] Error 1
I have taken some steps to solve it, but they did not work,. Do you have any suggestions about this, thanks! suggesstions
You can refer to https://github.com/BVLC/caffe/issues or http://caffe.berkeleyvision.org/installation.html for some suggestions.
Sorry to bother you! I just run the rcf on my computer with Ubuntu+caffe+cpu, then came across some errors in building caffe when I make runtest , these errors were listed below, hope you or somebody can help me, thanks!
[----------] Global test environment tear-down [==========] 1096 tests from 150 test cases ran. (37180 ms total) [ PASSED ] 1092 tests. [ FAILED ] 4 tests, listed below: [ FAILED ] SigmoidCrossEntropyLossLayerTest/0.TestSigmoidCrossEntropyLoss, where TypeParam = caffe::CPUDevice
[ FAILED ] SigmoidCrossEntropyLossLayerTest/0.TestGradient, where TypeParam = caffe::CPUDevice
[ FAILED ] SigmoidCrossEntropyLossLayerTest/1.TestGradient, where TypeParam = caffe::CPUDevice
[ FAILED ] SigmoidCrossEntropyLossLayerTest/1.TestSigmoidCrossEntropyLoss, where TypeParam = caffe::CPUDevice
4 FAILED TESTS Makefile:526: recipe for target 'runtest' failed make: *** [runtest] Error 1