From 08c7cf9c88befd845f00c00d85e40a9eead4b1b3 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Sun, 19 Jun 2016 21:28:15 +0000
Subject: [PATCH] no mean on input binarization

---
 src/maxpool_layer.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/maxpool_layer.c b/src/maxpool_layer.c
index 2017627..7af4954 100644
--- a/src/maxpool_layer.c
+++ b/src/maxpool_layer.c
@@ -51,6 +51,7 @@
     int stride = l->stride;
     l->h = h;
     l->w = w;
+    l->inputs = h*w*l->c;
 
     l->out_w = (w-1)/stride + 1;
     l->out_h = (h-1)/stride + 1;

--
Gitblit v1.10.0