From 42a945fc2e116de3b53aa6c76cba17281fde15cb Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Wed, 28 Mar 2018 00:20:21 +0000
Subject: [PATCH] Another fix
---
src/region_layer.h | 2 +-
src/region_layer.c | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/region_layer.c b/src/region_layer.c
index 5f8e4cc..5e46402 100644
--- a/src/region_layer.c
+++ b/src/region_layer.c
@@ -493,6 +493,7 @@
}
}
+/*
void get_region_detections(layer l, int w, int h, int netw, int neth, float thresh, int *map, float tree_thresh, int relative, detection *dets)
{
int i, j, n, z;
@@ -568,4 +569,5 @@
}
}
correct_region_boxes(dets, l.w*l.h*l.n, w, h, netw, neth, relative);
-}
\ No newline at end of file
+}
+*/
\ No newline at end of file
diff --git a/src/region_layer.h b/src/region_layer.h
index d0de76a..c35d173 100644
--- a/src/region_layer.h
+++ b/src/region_layer.h
@@ -11,7 +11,7 @@
void backward_region_layer(const region_layer l, network_state state);
void get_region_boxes(layer l, int w, int h, float thresh, float **probs, box *boxes, int only_objectness, int *map);
void resize_region_layer(layer *l, int w, int h);
-void get_region_detections(layer l, int w, int h, int netw, int neth, float thresh, int *map, float tree_thresh, int relative, detection *dets);
+//void get_region_detections(layer l, int w, int h, int netw, int neth, float thresh, int *map, float tree_thresh, int relative, detection *dets);
#ifdef GPU
void forward_region_layer_gpu(const region_layer l, network_state state);
--
Gitblit v1.10.0