From ae4ec1a06d5b4c9bcb5647cf555aafd4e5f800f7 Mon Sep 17 00:00:00 2001 From: Bartek GÄ…siorzewski <g.bartek@gmail.com> Date: Mon, 07 May 2018 20:11:57 +0000 Subject: [PATCH] Exit with nonzero status on error --- src/detection_layer.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/detection_layer.h b/src/detection_layer.h index e847a09..9d2da92 100644 --- a/src/detection_layer.h +++ b/src/detection_layer.h @@ -10,6 +10,7 @@ void forward_detection_layer(const detection_layer l, network_state state); void backward_detection_layer(const detection_layer l, network_state state); void get_detection_boxes(layer l, int w, int h, float thresh, float **probs, box *boxes, int only_objectness); +void get_detection_detections(layer l, int w, int h, float thresh, detection *dets); #ifdef GPU void forward_detection_layer_gpu(const detection_layer l, network_state state); -- Gitblit v1.10.0