Joseph Redmon
2016-06-08 7520949d84bb410ebc22dece85181d725e03727a
idk just in case
4 files modified
12 ■■■■■ changed files
Makefile 4 ●●●● patch | view | raw | blame | history
ai2.mk 2 ●●● patch | view | raw | blame | history
src/convolutional_layer.c 4 ●●●● patch | view | raw | blame | history
src/detection_layer.c 2 ●●● patch | view | raw | blame | history
Makefile
@@ -1,6 +1,6 @@
GPU=0
GPU=1
CUDNN=0
OPENCV=0
OPENCV=1
DEBUG=0
ARCH= --gpu-architecture=compute_52 --gpu-code=compute_52 
ai2.mk
@@ -1,7 +1,7 @@
GPU=0
CUDNN=0
OPENCV=0
DEBUG=0
DEBUG=1
AI2=1
ARCH= --gpu-architecture=compute_52 --gpu-code=compute_52 
src/convolutional_layer.c
@@ -8,6 +8,10 @@
#include <stdio.h>
#include <time.h>
#ifdef AI2
#include "xnor_layer.h"
#endif
#ifndef AI2
#define AI2 0
#endif
src/detection_layer.c
@@ -176,7 +176,7 @@
            }
        }
        if(1){
        if(0){
            float *costs = calloc(l.batch*locations*l.n, sizeof(float));
            for (b = 0; b < l.batch; ++b) {
                int index = b*l.inputs;