[shark] 24/58: wrong argument list for the impulse noie model. fixes #52
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Wed Mar 16 10:05:30 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository shark.
commit 0b7a97868b03694bfecb584a89f402f552ddf00d
Author: Oswin <oswin.krause at di.ku.dk>
Date: Sun Feb 28 09:31:22 2016 +0100
wrong argument list for the impulse noie model. fixes #52
---
examples/Supervised/DeepNetworkTraining.tpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/Supervised/DeepNetworkTraining.tpp b/examples/Supervised/DeepNetworkTraining.tpp
index c7cc245..d724287 100644
--- a/examples/Supervised/DeepNetworkTraining.tpp
+++ b/examples/Supervised/DeepNetworkTraining.tpp
@@ -64,7 +64,7 @@ AutoencoderModel trainAutoencoderModel(
AutoencoderModel baseModel;
baseModel.setStructure(inputs, numHidden);
initRandomUniform(baseModel,-0.1*std::sqrt(1.0/inputs),0.1*std::sqrt(1.0/inputs));
- ImpulseNoiseModel noise(noiseStrength,0.0);//set an input pixel with probability p to 0
+ ImpulseNoiseModel noise(inputs,noiseStrength,0.0);//set an input pixel with probability p to 0
ConcatenatedModel<RealVector,RealVector> model = noise>> baseModel;
//###end<model>
//###begin<objective>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/shark.git
More information about the debian-science-commits
mailing list