saving weight files as binaries, hell yeah

This commit is contained in:
Joseph Redmon
2015-02-06 18:53:53 -08:00
parent bfffadc755
commit 2f62fe33c9
9 changed files with 147 additions and 47 deletions

View File

@@ -12,13 +12,13 @@ OPTS=-O3
LDFLAGS=`pkg-config --libs opencv` -lm -pthread
COMMON=`pkg-config --cflags opencv` -I/usr/local/cuda/include/
CFLAGS=-Wall -Wfatal-errors
CFLAGS+=$(OPTS)
ifeq ($(DEBUG), 1)
COMMON+=-O0 -g
CFLAGS+=-O0 -g
OPTS=-O0 -g
endif
CFLAGS+=$(OPTS)
ifeq ($(GPU), 1)
COMMON+=-DGPU
CFLAGS+=-DGPU