verne.freenode.net changed the topic of #mlpack to: http://www.mlpack.org/ -- We don't respond instantly... but we will respond. Give it a few minutes. Or hours. -- Channel logs: http://www.mlpack.org/irc/
< zoq> ShikharJ: N need to work over the weekend, the debugging process is the hardest part, and I think we are on track.
< zoq> haritha1313: One way is to use sequential instead of the FFN class, which should work with the merge layer. Another way is to write another class, this is what we do for the FAN code (kinda of a wrapper around two FFN's).
< zoq> ShikharJ: I think the network isn't initialized correctly at the point where the Gradient function is called.
< zoq> ShikharJ: If we call the gradient method of the FFN class, the method runs the Evaluate function (Evaluate(parameters, begin, batchSize, false);), which requires that predictors is set. In this case it looks like it is set, but the number of cols (numFunctions) is 1 instead of 500.
< zoq> ShikharJ: Let's see if the first issue is fixed in the latest version.
< zoq> haritha1313: I think #1355 is close to be merged, so perhaps we should focus on the Pr for now before moving forward. Let me know what you think.
lozhnikov-znc has quit [Ping timeout: 245 seconds]
lozhnikov-znc has joined #mlpack
lozhnikov-znc has quit [Ping timeout: 252 seconds]
haritha1313 has joined #mlpack
< haritha1313> zoq: Sure. Actually a few tests are failing with errors different from earlier. Since it was taking time to solve I thought I'll have these week's work go in parallel.
haritha1313_ has joined #mlpack
< haritha1313_> I'll try my best to debug them and push the changes today itself.
haritha1313_ has left #mlpack []
haritha1313 has quit [Ping timeout: 260 seconds]
ImQ009 has joined #mlpack
< zoq> haritha1313: Ah, I see, I'll take a closer look into the failing tests as well.
< ShikharJ> zoq: I'll take a closer look and reach back if I face any issues.
< zoq> ShikharJ: It looks like 'generator.Gradient(generator.parameter, noise.n_cols, gradientGenerator, batchSize);' isn't correct. It will call 'Forward(std::move(predictors.cols(begin, begin + batchSize - 1)));'
< zoq> but predictors.n_cols is 1 and begin is also 1
< zoq> but it should be zero
< zoq> still trying to figure out what is wrong
< zoq> okay turns out that predictors inside the FFN class isn't set.
< ShikharJ> zoq: I must mention, I didn't change the currentInput for the generator inside Gradient from noise to predictors
< ShikharJ> It didn't make sense to me at that moment so I had skipped it.
travis-ci has joined #mlpack
< travis-ci> ShikharJ/mlpack#160 (GAN - 13494c7 : Shikhar Jaiswal): The build has errored.
travis-ci has left #mlpack []
< jenkins-mlpack> Project docker mlpack nightly build build #330: UNSTABLE in 2 hr 47 min: http://masterblaster.mlpack.org/job/docker%20mlpack%20nightly%20build/330/
wenhao has joined #mlpack
ImQ009 has quit [Ping timeout: 256 seconds]
ImQ009 has joined #mlpack
lozhnikov-znc has joined #mlpack
ImQ009_ has joined #mlpack
ImQ009 has quit [Ping timeout: 256 seconds]
< zoq> ShikharJ: inside the Gradient function we already call: generator.Forward(std::move(noise)); you are right, so in the best situation we don't rerun the Forward step inside the Gradient call of the FFN class, but at the moment we do, so we would have to set the predictors once more.
ImQ009_ has quit [Ping timeout: 268 seconds]
ImQ009_ has joined #mlpack
wenhao has quit [Ping timeout: 260 seconds]
ImNotQ009__ has joined #mlpack
ImQ009_ has quit [Ping timeout: 256 seconds]
lozhnikov-znc has left #mlpack []
lozhnikov-znc has joined #mlpack
vivekp has quit [Read error: Connection reset by peer]
vivekp has joined #mlpack
vivekp has quit [Ping timeout: 265 seconds]
vivekp has joined #mlpack
witness_ has joined #mlpack
vivekp has quit [Ping timeout: 240 seconds]
< ShikharJ> zoq: That makes sense to me. I have updated the changes.
ImNotQ009__ has quit [Quit: Leaving]
< ShikharJ> zoq: For the case that you mentioned above, shouldn't instead of doing (currentInput = predictors;) we should set the (gradient.Predictors() = predictors) or something like that directly?
< ShikharJ> zoq: Ah, nevermind, I just saw that repeated your suggestions above.