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/
< nishantkr18[m]>
zoq: Yeah it works now. The 2nd one shouldn't work as it had agent.Episode() in it.. I intended to remove it. I'll do that now. Thanks 👍️
< himanshu_pathak[>
Hey, rcurtin: I think there is a memory issue with `arma::randn()` whenever I am using it in my program valgrind is showing Invalid free error.
< himanshu_pathak[>
Heysakshamb189: I am trying to debug the memory issue and find out the problem with `arma::randn()` . Do you have any alternate for this in your mind??
< sakshamb189[m]>
We are using it at other places as well. I am quite sure that `arma::randn` is not what is causing the issue.
< sakshamb189[m]>
Have you tried running just a simple program with only `arma::randn` to see if you can produce the issue with that?
< himanshu_pathak[>
> Have you tried running just a simple program with only `arma::randn` to see if you can produce the issue with that?
< himanshu_pathak[>
Wait I should try that too.
< himanshu_pathak[>
getting this error
< himanshu_pathak[>
only using `arma::randn()`
< sakshamb189[m]>
can you show the program as well?
< himanshu_pathak[>
Can you try to reproduce this using valgrind --leak-check=full --show-leak-kinds=all --tool=memcheck --track-origins=yes ./test.out
< sakshamb189[m]>
can you remove the labels part and anything to do with mlpack, ensmallen and just have armadillo here?
< sakshamb189[m]>
and from the error message above I do not think it shows invalid free anywhere
< himanshu_pathak[>
> and from the error message above I do not think it shows invalid free anywhere
< himanshu_pathak[>
Getting same error may be I am missing something
< sakshamb189[m]>
The valgrind output you pasted does not show invalid free error. Is that not correct?
< himanshu_pathak[>
> The valgrind output you pasted does not show invalid free error. Is that not correct?
< himanshu_pathak[>
Yup you are correct
< sakshamb189[m]>
we need to work on fixing the invalid free errors that are being shown for the svm
< himanshu_pathak[>
> we need to work on fixing the invalid free errors that are being shown for the svm
< himanshu_pathak[>
Ok I thought this was the main reason of Invalid free
< himanshu_pathak[>
But its not
< sakshamb189[m]>
sure no worries :)
< himanshu_pathak[>
Thanks for helping
favre49 has quit [Remote host closed the connection]
< zoq>
nishantkr18[m]: Glad it worked.
< zoq>
kartikdutt18[m]: Awesome update, the debugging meme got me.
ImQ009 has quit [Quit: Leaving]
< rcurtin>
kartikdutt18[m]: nice update, the "Input Stream Error" is something I also have spent too much time debugging in the past :(
< rcurtin>
himanshu_pathak[: awesome that you got the memory issue worked out---also, I enjoyed the video about how to beat the zombie horde :)
< rcurtin>
any objection if I merge #2459 (boost::program_options -> CLI11)? last chance for any comments :)
< jonpsy[m]>
kartikdutt18 loved the article, can you tell me where you're getting those resources from? (Monte Carlo. Processing and that stuff) I need to subscribe to em 😬