From 2774cd86d41df2f4a5cf576a72418cadf90b4072 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Thu, 26 Nov 2015 22:40:49 +0000
Subject: [PATCH] threshs are floats
---
src/coco_kernels.cu | 2 +-
src/yolo_kernels.cu | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/coco_kernels.cu b/src/coco_kernels.cu
index 4dc3e88..298bc34 100644
--- a/src/coco_kernels.cu
+++ b/src/coco_kernels.cu
@@ -32,7 +32,7 @@
static image disp ;
static cv::VideoCapture cap;
static float fps = 0;
-static int demo_thresh = 0;
+static float demo_thresh = 0;
void *fetch_in_thread_coco(void *ptr)
{
diff --git a/src/yolo_kernels.cu b/src/yolo_kernels.cu
index e603caf..d7f1b26 100644
--- a/src/yolo_kernels.cu
+++ b/src/yolo_kernels.cu
@@ -33,7 +33,7 @@
static image disp ;
static cv::VideoCapture cap;
static float fps = 0;
-static int demo_thresh = 0;
+static float demo_thresh = 0;
void *fetch_in_thread(void *ptr)
{
--
Gitblit v1.10.0