Clanatia / caffe_train

Other
0 stars 0 forks source link

make runtest error #1

Open Gabit07 opened 5 years ago

Gabit07 commented 5 years ago

Hi,

I am trying to run 'make runtest', but receive the following error

[ 94%] Building CXX object src/caffe/test/CMakeFiles/test.testbin.dir/test_convolution_layer.cpp.o [ 95%] Building CXX object src/caffe/test/CMakeFiles/test.testbin.dir/test_platform.cpp.o [ 95%] Building CXX object src/caffe/test/CMakeFiles/test.testbin.dir/test_neuron_layer.cpp.o /home/gabit/caffe_train/src/caffe/test/test_neuron_layer.cpp:17:38: fatal error: caffe/layers/log_layer.hpp: No such file or directory compilation terminated. src/caffe/test/CMakeFiles/test.testbin.dir/build.make:1461: recipe for target 'src/caffe/test/CMakeFiles/test.testbin.dir/test_neuron_layer.cpp.o' failed make[3]: [src/caffe/test/CMakeFiles/test.testbin.dir/test_neuron_layer.cpp.o] Error 1 CMakeFiles/Makefile2:362: recipe for target 'src/caffe/test/CMakeFiles/test.testbin.dir/all' failed make[2]: [src/caffe/test/CMakeFiles/test.testbin.dir/all] Error 2 CMakeFiles/Makefile2:335: recipe for target 'src/caffe/test/CMakeFiles/runtest.dir/rule' failed make[1]: [src/caffe/test/CMakeFiles/runtest.dir/rule] Error 2 Makefile:240: recipe for target 'runtest' failed make: [runtest] Error 2

Could you help me?

Gabit07 commented 5 years ago

try install Caffe_train folder. not build folder

and make all make test make install

http://caffe.berkeleyvision.org/installation.html

jianrui1 commented 5 years ago

@Gabit07 Have you solve the problem? I have a similar problem. As follow: [ 73%] Building CXX object src/caffe/test/CMakeFiles/test.testbin.dir/test_deconvolution_layer.cpp.o /home/jr/SegStereo/src/caffe/test/test_deconvolution_layer.cpp:8:47: fatal error: caffe/layers/cudnn_deconv_layer.hpp: No such file or directory compilation terminated. src/caffe/test/CMakeFiles/test.testbin.dir/build.make:643: recipe for target 'src/caffe/test/CMakeFiles/test.testbin.dir/test_deconvolution_layer.cpp.o' failed make[3]: [src/caffe/test/CMakeFiles/test.testbin.dir/test_deconvolution_layer.cpp.o] Error 1 CMakeFiles/Makefile2:394: recipe for target 'src/caffe/test/CMakeFiles/test.testbin.dir/all' failed make[2]: [src/caffe/test/CMakeFiles/test.testbin.dir/all] Error 2 CMakeFiles/Makefile2:367: recipe for target 'src/caffe/test/CMakeFiles/runtest.dir/rule' failed make[1]: [src/caffe/test/CMakeFiles/runtest.dir/rule] Error 2 Makefile:253: recipe for target 'runtest' failed make: [runtest] Error 2

I check the code file, it did not have the 'cudnn_deconv_layer.hpp' file.While in my computer's caffe, the 'cudnn_deconv_layer.hpp' appeared.

Can you help me out. Thanks for advance.

Gabit07 commented 5 years ago

No, I haven't solved it Sorry

jianrui1 commented 5 years ago

Are you still use caffe and do similar research? Can you share some tried solutions to me? I tried to copy the file from caffe .And then make runtest. Any other problem appeared.

QingxinWx commented 5 years ago

do you solved it ?thanks