From feabcc31de9dfb93b59d5a598a03b617dabe86da Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Tue, 21 Apr 2015 19:58:03 +0000
Subject: [PATCH] gonna fuck shit up

---
 src/image.c     |    1 +
 src/detection.c |    1 +
 Makefile        |    2 +-
 3 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 63cb621..d855880 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@
 
 CC=gcc
 NVCC=nvcc
-OPTS=-O3
+OPTS=-Ofast
 LDFLAGS=`pkg-config --libs opencv` -lm -pthread -lstdc++
 COMMON=`pkg-config --cflags opencv` -I/usr/local/cuda/include/
 CFLAGS=-Wall -Wfatal-errors
diff --git a/src/detection.c b/src/detection.c
index 2610b48..c61c799 100644
--- a/src/detection.c
+++ b/src/detection.c
@@ -157,6 +157,7 @@
     srand(time(0));
 
     list *plist = get_paths("/home/pjreddie/data/voc/val.txt");
+    //list *plist = get_paths("/home/pjreddie/data/voc/test.txt");
     //list *plist = get_paths("/home/pjreddie/data/voc/val.expanded.txt");
     //list *plist = get_paths("/home/pjreddie/data/voc/train.txt");
     char **paths = (char **)list_to_array(plist);
diff --git a/src/image.c b/src/image.c
index 7509ce5..948d325 100644
--- a/src/image.c
+++ b/src/image.c
@@ -605,6 +605,7 @@
     image out = ipl_to_image(src);
     cvReleaseImage(&src);
     if((h && w) && (h != out.h || w != out.w)){
+        //printf("resize\n");
         image resized = resize_image(out, w, h);
         free_image(out);
         out = resized;

--
Gitblit v1.10.0