From 573d7e80814a4cc3c08897f6c0f67ea189339856 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Wed, 16 May 2018 00:03:23 +0000
Subject: [PATCH] Added def array_to_image(arr): to the darknet.py Usage: import scipy.misc sci_image = scipy.misc.imread(image) im, arr = array_to_image(sci_image)
---
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