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/batchnorm_layer.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/batchnorm_layer.h b/src/batchnorm_layer.h index 61810b6..99d1d0f 100644 --- a/src/batchnorm_layer.h +++ b/src/batchnorm_layer.h @@ -12,6 +12,8 @@ #ifdef GPU void forward_batchnorm_layer_gpu(layer l, network_state state); void backward_batchnorm_layer_gpu(layer l, network_state state); +void pull_batchnorm_layer(layer l); +void push_batchnorm_layer(layer l); #endif #endif -- Gitblit v1.10.0