ChanServ changed the topic of #mlpack to: "mlpack: a fast, flexible machine learning library :: We don't always respond instantly, but we will respond; please be patient :: Logs at http://www.mlpack.org/irc/
xiaohong has joined #mlpack
xiaohong has quit [Remote host closed the connection]
xiaohong has joined #mlpack
xiaohong has quit [Remote host closed the connection]
xiaohong_ has joined #mlpack
xiaohong_ has quit [Remote host closed the connection]
xiaohong has joined #mlpack
< xiaohong>
Hi, I have a question about how to create an NN model. Why the output was 'matrix size: 0x1' when I print the NN model parameters?
< xiaohong>
Did I missing something to create the model?
< xiaohong>
In the PPO unit test, I create model using the same the way with QlearningTest.
xiaohong has quit [Remote host closed the connection]
xiaohong has joined #mlpack
< xiaohong>
zoq: Yes, I print the model in the q_learning_test, the output looks good.
< xiaohong>
In the QLearningTest, before calling the ResetParameters(), the output of model.Parameters() is [matrix size: 0x0]. after ResetParameters(), and the output was not the same with PPOTest.
< zoq>
xiaohong: If you call ResetParameters() right after you passed the model to the constructor, does that solve the problem?
< xiaohong>
Do you mean just call ResetParameters() without any condition check?
< zoq>
xiaohong: Just to see if that works, if it does, we could check if the size of the parameters is >= 1.
favre49 has joined #mlpack
KimSangYeon-DGU has quit [Remote host closed the connection]
< xiaohong>
Okay.
< xiaohong>
I recompile the project, so maybe it need a little time to complete the compile process.
< zoq>
sure, no worries
< favre49>
zoq: I'll be going back to college tomorrow, so I'm not sure how much work I'll be able to complete over the next couple days
< zoq>
favre49: Okay, I will continue with the review of the NEAT PR, so whenever you have time, let's discuss/update the comments.
< favre49>
Sounds great :) Hopefully my train doesn't get cancelled, i hear it's flooding in the area
< zoq>
favre49: Ohh, fingers crossed.
favre49 has quit [Remote host closed the connection]
< xiaohong>
zoq: During the debugging time, I output the Parameters() function before call the ResetParameters(), the result was [matrix size: 0x0].
< zoq>
xiaohong: Right, ResetParameters() is called once Training begins or if you call the Forward or Predict function
< xiaohong>
So, I think in the PPO constructor, the actorNetwork.ResetParameters() was called.