From 9c3f113bd5f553aade3cb7a88f4d4232f6ea6403 Mon Sep 17 00:00:00 2001 From: Marcus Edel Date: Sun, 24 Nov 2019 14:13:44 +0100 Subject: [PATCH] Let's see if the serialization of the wrapped layer is the issue. --- src/mlpack/methods/ann/layer/weight_norm_impl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mlpack/methods/ann/layer/weight_norm_impl.hpp b/src/mlpack/methods/ann/layer/weight_norm_impl.hpp index d56b6156dc..dd08027c93 100644 --- a/src/mlpack/methods/ann/layer/weight_norm_impl.hpp +++ b/src/mlpack/methods/ann/layer/weight_norm_impl.hpp @@ -152,7 +152,7 @@ void WeightNorm::serialize( boost::apply_visitor(deleteVisitor, wrappedLayer); } - ar & BOOST_SERIALIZATION_NVP(wrappedLayer); + //ar & BOOST_SERIALIZATION_NVP(wrappedLayer); ar & BOOST_SERIALIZATION_NVP(layerWeightSize); // If we are loading, we need to initialize the weights.