hed icon indicating copy to clipboard operation
hed copied to clipboard

make runtest errors

Open exampen opened this issue 8 years ago • 3 comments

I want to compile the HED on my computer with environment (Ubuntu 16.04+Caffe+CPU). I am getting the following errors when i try to make runtest , could anyone help me, please.

[ RUN ] ImageDataLayerTest/1.TestRead E0824 07:06:58.180407 3184 io.cpp:77] Could not open or find file examples/images/cat.jpg F0824 07:06:58.180481 3184 image_data_layer.cpp:65] Check failed: cv_img.data Could not load examples/images/cat.jpg

exampen avatar Aug 24 '17 14:08 exampen

@exampen I think you can just make a directory named "images" under "examples/", and then copy any image named "cat.jpg" to "examples/images/" to solve this problem...

mikirui avatar Sep 07 '17 15:09 mikirui

Actually, I did so like you said and thanks anyway.

exampen avatar Sep 08 '17 01:09 exampen

I also meet this error when I run "make runtest",and I found opencv results in this error,,you need to make opencv with jpeg,I rebuilt opencv and fixed it. cd /opencv/build cmake cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local -DBUILD_JPEG=ON .. make -j4 sudo make install and remake the caffe. my computer:CUDA 9.0,Opencv 3.3.1

3bobo avatar Apr 06 '18 07:04 3bobo