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/reorg_layer.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/reorg_layer.h b/src/reorg_layer.h index 659bc7c..21c22cd 100644 --- a/src/reorg_layer.h +++ b/src/reorg_layer.h @@ -6,7 +6,7 @@ #include "layer.h" #include "network.h" -layer make_reorg_layer(int batch, int h, int w, int c, int stride); +layer make_reorg_layer(int batch, int h, int w, int c, int stride, int reverse); void resize_reorg_layer(layer *l, int w, int h); void forward_reorg_layer(const layer l, network_state state); void backward_reorg_layer(const layer l, network_state state); -- Gitblit v1.10.0