From 351996d9f0390ef44412fa678bc7a073a94e23e5 Mon Sep 17 00:00:00 2001 From: AlexeyAB <alexeyab84@gmail.com> Date: Thu, 16 Mar 2017 18:49:36 +0000 Subject: [PATCH] Fixed memory leak in DLL, added load_image() & free_image(), added read_names_from_file() --- src/region_layer.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/region_layer.h b/src/region_layer.h index 01901e0..a8cdd93 100644 --- a/src/region_layer.h +++ b/src/region_layer.h @@ -9,7 +9,8 @@ region_layer make_region_layer(int batch, int h, int w, int n, int classes, int coords); void forward_region_layer(const region_layer l, network_state state); 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); +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); #ifdef GPU void forward_region_layer_gpu(const region_layer l, network_state state); -- Gitblit v1.10.0