From 761643b2316907f33db4e469e84debf25ea380ec Mon Sep 17 00:00:00 2001 From: Clemens-Alexander Brust Date: Sat, 12 Mar 2016 00:59:48 +0100 Subject: [PATCH 1/2] AdvancedMaxPoolingLayer: Fixed x/y confusion --- src/net/AdvancedMaxPoolingLayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/AdvancedMaxPoolingLayer.cpp b/src/net/AdvancedMaxPoolingLayer.cpp index ca7e67e..3b2eebd 100644 --- a/src/net/AdvancedMaxPoolingLayer.cpp +++ b/src/net/AdvancedMaxPoolingLayer.cpp @@ -202,7 +202,7 @@ void AdvancedMaxPoolingLayer::BackPropagate() { for(std::size_t sample = 0; sample < input_->data.samples(); sample++) { for (unsigned int map = 0; map < maps_; map++) { for (unsigned int ix = 0; ix < input_width_; ix++) { - for(unsigned int iy = 0; iy < input_width_; iy++) { + for(unsigned int iy = 0; iy < input_height_; iy++) { const unsigned int mask_index = ix + input_width_ * iy; const unsigned int oxstart = (ix < region_width_) ? 0 : (ix - region_width_) / stride_width_+ 1; From 12647e5ca51d55279c3f66b07a294703d1faface Mon Sep 17 00:00:00 2001 From: Clemens-Alexander Brust Date: Sat, 12 Mar 2016 09:17:55 +0100 Subject: [PATCH 2/2] Init: Added version information for v2.0.3 --- src/util/Init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/Init.cpp b/src/util/Init.cpp index 408fd79..955853e 100644 --- a/src/util/Init.cpp +++ b/src/util/Init.cpp @@ -87,7 +87,7 @@ void System::Init(int requested_log_level) { } else log_level = requested_log_level; - LOGINFO << "CN24 v2.0.2 at " STRING_SHA1; + LOGINFO << "CN24 v2.0.3 at " STRING_SHA1; LOGINFO << "Copyright (C) 2015 Clemens-Alexander Brust"; LOGINFO << "For licensing information, see the LICENSE" << " file included with this project.";