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/route_layer.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/route_layer.h b/src/route_layer.h index 77245a6..45467d9 100644 --- a/src/route_layer.h +++ b/src/route_layer.h @@ -8,6 +8,7 @@ route_layer make_route_layer(int batch, int n, int *input_layers, int *input_size); void forward_route_layer(const route_layer l, network_state state); void backward_route_layer(const route_layer l, network_state state); +void resize_route_layer(route_layer *l, network *net); #ifdef GPU void forward_route_layer_gpu(const route_layer l, network_state state); -- Gitblit v1.10.0