Let's see if the serialization of the wrapped layer is the issue.
This commit is contained in:
@@ -152,7 +152,7 @@ void WeightNorm<InputDataType, OutputDataType, CustomLayers...>::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.
|
||||
|
||||
Reference in New Issue
Block a user