-
Notifications
You must be signed in to change notification settings - Fork 3
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
Questions about the caffe environment #1
Comments
Can you tell me which step you can't do , this project need no caffe image, it's written only by C language! |
Thank you for your reply. I first clone this project, and as you said, I modified the makefile in HOI-RT: |
I guess it was cause by OpenCV version, the YOLO and Darknet was worked OK on OpenCV 2.4.xx, not 3.x and I participate the project used 2.4.xx too. So, I recommend you first make install opencv 2.4.xx,and install and make YOLO, with OpenCV=1, if it will be worked OK, then you can solve the problem. |
You can refer this Cant make the YOLO when OPENCV=1 Ubuntu 17.10, and make sure you can run YOLO on your environment before you run this project. |
@lmingyin
Thank you very much for such a good code and paper, I can't wait to see it again and see the effect of the paper. But after almost a few attempts, I failed in the environment configuration. The most recent time I used the official caffe image to open a container, which was executed as you said, and this error occurred when executing make -j8:
root@ecdc968b55d9:/data/detection/HOI-RT-master# make -j8 gcc -Iinclude/ -Isrc/ -DOPENCV
pkg-config --cflags opencv-DGPU -I/usr/local/cuda/include/ -DCUDNN -Wall -Wfatal-errors -Ofast -DOPENCV -DGPU -DCUDNN -c ./src/gemm.c -o obj/gemm.o gcc -Iinclude/ -Isrc/ -DOPENCV
pkg-config --cflags opencv-DGPU -I/usr/local/cuda/include/ -DCUDNN -Wall -Wfatal-errors -Ofast -DOPENCV -DGPU -DCUDNN -c ./src/utils.c -o obj/utils.o gcc -Iinclude/ -Isrc/ -DOPENCV
pkg-config --cflags opencv-DGPU -I/usr/local/cuda/include/ -DCUDNN -Wall -Wfatal-errors -Ofast -DOPENCV -DGPU -DCUDNN -c ./src/cuda.c -o obj/cuda.o gcc -Iinclude/ -Isrc/ -DOPENCV
pkg-config --cflags opencv-DGPU -I/usr/local/cuda/include/ -DCUDNN -Wall -Wfatal-errors -Ofast -DOPENCV -DGPU -DCUDNN -c ./src/deconvolutional_layer.c -o obj/deconvolutional_layer.o gcc -Iinclude/ -Isrc/ -DOPENCV
pkg-config --cflags opencv-DGPU -I/usr/local/cuda/include/ -DCUDNN -Wall -Wfatal-errors -Ofast -DOPENCV -DGPU -DCUDNN -c ./src/convolutional_layer.c -o obj/convolutional_layer.o gcc -Iinclude/ -Isrc/ -DOPENCV
pkg-config --cflags opencv-DGPU -I/usr/local/cuda/include/ -DCUDNN -Wall -Wfatal-errors -Ofast -DOPENCV -DGPU -DCUDNN -c ./src/list.c -o obj/list.o gcc -Iinclude/ -Isrc/ -DOPENCV
pkg-config --cflags opencv-DGPU -I/usr/local/cuda/include/ -DCUDNN -Wall -Wfatal-errors -Ofast -DOPENCV -DGPU -DCUDNN -c ./src/image.c -o obj/image.o gcc -Iinclude/ -Isrc/ -DOPENCV
pkg-config --cflags opencv-DGPU -I/usr/local/cuda/include/ -DCUDNN -Wall -Wfatal-errors -Ofast -DOPENCV -DGPU -DCUDNN -c ./src/activations.c -o obj/activations.o In file included from ./src/image.c:1:0: ./src/image.h:9:39: fatal error: opencv2/videoio/videoio_c.h: No such file or directory compilation terminated. Makefile:79: recipe for target 'obj/image.o' failed make: *** [obj/image.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from src/network.h:6:0, from src/activation_layer.h:6, from include/darknet.h:500, from ./src/list.h:3, from ./src/utils.h:5, from ./src/gemm.c:2: src/image.h:9:39: fatal error: opencv2/videoio/videoio_c.h: No such file or directory compilation terminated. In file included from src/network.h:6:0, from src/activation_layer.h:6, from include/darknet.h:500, from ./src/cuda.h:4, from ./src/cuda.c:5: src/image.h:9:39: fatal error: opencv2/videoio/videoio_c.h: No such file or directory compilation terminated. In file included from src/network.h:6:0, from src/activation_layer.h:6, from include/darknet.h:500, from ./src/cuda.h:4, from ./src/convolutional_layer.h:4, from ./src/convolutional_layer.c:1: src/image.h:9:39: fatal error: opencv2/videoio/videoio_c.h: No such file or directory compilation terminated. In file included from src/network.h:6:0, from src/activation_layer.h:6, from include/darknet.h:500, from ./src/list.h:3, from ./src/list.c:3: src/image.h:9:39: fatal error: opencv2/videoio/videoio_c.h: No such file or directory compilation terminated. In file included from src/network.h:6:0, from src/activation_layer.h:6, from include/darknet.h:500, from ./src/activations.h:3, from ./src/activations.c:1: src/image.h:9:39: fatal error: opencv2/videoio/videoio_c.h: No such file or directory Makefile:79: recipe for target 'obj/gemm.o' failed compilation terminated. make: *** [obj/gemm.o] Error 1 In file included from src/network.h:6:0, from src/activation_layer.h:6, from include/darknet.h:500, from ./src/list.h:3, from ./src/utils.h:5, from ./src/utils.c:11: src/image.h:9:39: fatal error: opencv2/videoio/videoio_c.h: No such file or directory compilation terminated. In file included from src/network.h:6:0, from src/activation_layer.h:6, from include/darknet.h:500, from ./src/cuda.h:4, from ./src/deconvolutional_layer.h:4, from ./src/deconvolutional_layer.c:1: src/image.h:9:39: fatal error: opencv2/videoio/videoio_c.h: No such file or directory compilation terminated. Makefile:79: recipe for target 'obj/cuda.o' failed make: *** [obj/cuda.o] Error 1 Makefile:79: recipe for target 'obj/activations.o' failed make: *** [obj/activations.o] Error 1 Makefile:79: recipe for target 'obj/convolutional_layer.o' failed make: *** [obj/convolutional_layer.o] Error 1 Makefile:79: recipe for target 'obj/list.o' failed make: *** [obj/list.o] Error 1 Makefile:79: recipe for target 'obj/deconvolutional_layer.o' failed make: *** [obj/deconvolutional_layer.o] Error 1 Makefile:79: recipe for target 'obj/utils.o' failed make: *** [obj/utils.o] Error 1
I think that using the official caffe image, it should be reasonable that there should be no environmental problems. Can you tell me how to solve this problem? thank you very much.
The text was updated successfully, but these errors were encountered: