From cdd1cb0e8c4fda3671714bb5ad6ba1825cff16d1 Mon Sep 17 00:00:00 2001 From: Puneet Kohli <punkohl@gmail.com> Date: Sun, 06 May 2018 21:45:26 +0000 Subject: [PATCH] Change matplotlib backend to 'agg' when 'show_plot' is false. This allows the script to be run from command line without any errors (for ex, on a remote machine) --- 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