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) --- cfg/darknet.cfg | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/cfg/darknet.cfg b/cfg/darknet.cfg index 7c0d28a..60b939a 100644 --- a/cfg/darknet.cfg +++ b/cfg/darknet.cfg @@ -84,6 +84,7 @@ [maxpool] size=2 stride=2 +padding=1 [convolutional] batch_normalize=1 -- Gitblit v1.10.0