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/im2col.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/im2col.h b/src/im2col.h
index b939043..f0ddeee 100644
--- a/src/im2col.h
+++ b/src/im2col.h
@@ -7,7 +7,7 @@
#ifdef GPU
-void im2col_ongpu(float *im, int offset,
+void im2col_ongpu(float *im,
int channels, int height, int width,
int ksize, int stride, int pad,float *data_col);
--
Gitblit v1.10.0