AlexeyAB / yolo2_light

Light version of convolutional neural network Yolo v3 & v2 for objects detection with a minimum of dependencies (INT8-inference, BIT1-XNOR-inference)
MIT License
302 stars 116 forks source link

Compilation Error #78

Open Sayyam-Jain opened 4 years ago

Sayyam-Jain commented 4 years ago

I have a GTX 1070 but I'm compiling without any modifications to the makefile. I received the following error upon compilation.

find . -name "*.sh" -exec chmod +x {} \; gcc -Wall -Wfatal-errors -Ofast -c ./src/main.c -o obj/main.o gcc -Wall -Wfatal-errors -Ofast -c ./src/additionally.c -o obj/additionally.o gcc -Wall -Wfatal-errors -Ofast -c ./src/box.c -o obj/box.o gcc -Wall -Wfatal-errors -Ofast -c ./src/yolov2_forward_network.c -o obj/yolov2_forward_network.o In file included from ./src/additionally.c:1:0: ./src/additionally.h: In function ‘activate’: ./src/additionally.h:128:9: warning: enumeration value ‘SELU’ not handled in switch [-Wswitch] switch (a) { gcc -Wall -Wfatal-errors -Ofast obj/main.o obj/additionally.o obj/box.o obj/yolov2_forward_network.o obj/yolov2_forward_network_quantized.o -o bin/darknet -lm -pthread