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 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 [Ping timeout: 246 seconds]
xiaohong has joined #mlpack
robbb08 has joined #mlpack
< robbb08> hey, is the image loading PR completed?
robbb08 has quit [Remote host closed the connection]
xiaohong has quit [Ping timeout: 245 seconds]
xiaohong has joined #mlpack
xiaohong has quit [Ping timeout: 245 seconds]
xiaohong has joined #mlpack
xiaohong has quit [Ping timeout: 245 seconds]
xiaohong has joined #mlpack
xiaohong has quit [Ping timeout: 245 seconds]
xiaohong has joined #mlpack
xiaohong has quit [Ping timeout: 245 seconds]
xiaohong has joined #mlpack
xiaohong has quit [Ping timeout: 245 seconds]
xiaohong has joined #mlpack
< ShikharJ> Toshal: Are you there?
< jenkins-mlpack2> Project docker mlpack nightly build build #389: STILL UNSTABLE in 3 hr 45 min: http://ci.mlpack.org/job/docker%20mlpack%20nightly%20build/389/
xiaohong has quit [Remote host closed the connection]
xiaohong has joined #mlpack
xiaohong has quit [Read error: Connection timed out]
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
KimSangYeon-DGU has joined #mlpack
xiaohong has quit [Remote host closed the connection]
xiaohong has joined #mlpack
< xiaohong> Hi, can anyone share ideas how to debug the unit test when tunes the parameter?
< xiaohong> What I do is to print the output, but it seems inefficient.
< zoq> xiaohong: For fintuning or to find an issue?
< xiaohong> Currently I am finding an issue,
< zoq> xiaohong: gdb should be helpful here, that way you can step through the code.
< zoq> xiaohong: https://github.com/cs01/gdbgui might be interesting as well, nice to have a gui from time to time.
< xiaohong> How can I debug one test at a time?
< xiaohong> such as ./bin/mlpack_test -t PPOTEST
< zoq> xiaohong: ./bin/mlpack_test -t PPOTEST/TESTCASE or what I also do is to write an exta file with a main and link against mlpack
< xiaohong> Oh, sorry that I didn't make it clear. I mean how to use gdb when tests one test case.
< zoq> xiaohong: gdb --args executablename arg1 arg2 arg3
< zoq> xiaohong: Or write an extra executable with a single main.
< xiaohong> So we treat `mlpack_test` as executable program, and then pass the arguments, right?
< zoq> right
< xiaohong> zoq: Thanks ~ I am using this to debug now.
xiaohong has quit [Remote host closed the connection]
< zoq> xiaohong: Okay, great
< zoq> robbb08: It's not merged yet, but you can use the code from the PR.
KimSangYeon-DGU has quit [Remote host closed the connection]
jeffin143 has joined #mlpack
< jeffin143> Rcurtin , zoq : I know m being stupid , but is there any way to seperate the bindings to others repo means , mlapck/cli or Mlpack/Julia , I know since it is dependent on the c++ code underhood , but isn't
< jeffin143> It possible by any means , and if yes why didn't we try
< rcurtin> jeffin143: it always made more logical sense to me to keep it together; there are lots of inter-dependencies between the mlpack codebase and the automatic binding codebase
< rcurtin> I see what you mean about splitting it all up, and maybe it could be done with submodules, but I think it would be really complex
< rcurtin> by the way I will finally merge #1876 today :) it took me forever to get mlpack-bot to approve it...
jeffin143 has quit [Remote host closed the connection]
jeffin143 has joined #mlpack
< jeffin143> The reason I was , we could keep the repo size smaller
< rcurtin> the repo size is already going to be huge pretty much no matter what we do because of all the history, unfortunately...
< rcurtin> as far as code size goes, the bindings/ directory is less than 1MB, so that shouldn't be too bad
< jeffin143> Also rcurtin , I had some doubts,. Suppose I have file with lot of includes, and I use only single function from each includes, then is it viable to
< jeffin143> Create a file with those function alone and just include one particular file Apne
< jeffin143> Alone*
< jeffin143> Would it give speed bump up..???
< rcurtin> yes, it could, but there can be maintenance issues like this---if you're including an upstream library, but you've manually written a smaller file to include with the same definitions,
< rcurtin> then if the upstream library updates or something like this, the signatures you have written in the smaller file could go out of date and this could cause problems
< rcurtin> last time I profiled it, the time the compiler spent just on parsing includes was like ~40% of the compilation time, so any speedups we can get there would definitely help
< jeffin143> Ok , if we do it before everytime we compile , so what I mean everytime before we compile , I will run a script which wile make a single file and then just include that in the code , so suppose it take 20% of time to do all that stuff , then can we handle the upstream case..?
< jeffin143> Since we are doing this all the time..???
< jeffin143> So even if the library gets updated , the function we include in the file we again get updated
< jeffin143> I am just throwing up random thoughts :) , not mean in terms of implementation , but I just wanna see what are your views
xiaohong has joined #mlpack
xiaohong has quit [Ping timeout: 245 seconds]
jeffin143 has quit [Ping timeout: 260 seconds]
< rcurtin> sorry, stepped out for a little while
< rcurtin> you could try auto-generating the right header file, but the only problem is that it may not help *that* much, especially for templated functions, where the implementation must also be available in header files
< rcurtin> so I definitely don't want to discourage you or anything---try it and see if you can get it to work
< rcurtin> compilation time is definitely a problem, but it's really hard to fix
ImQ009 has joined #mlpack
vivekp has joined #mlpack
vivekp has quit [Read error: Connection reset by peer]
vivekp has joined #mlpack
< Toshal> ShikharJ: I am here.
< Toshal> Anything serious.
< Toshal> zoq: ShikharJ: sakshamB: After thinking for sometime. I am thinking to implement bias visitor instead of a visitor for weights without bias. I am thinking in this way because there are more layers which have non-bias terms than which have bias terms. Let me know what you think.
vivekp has quit [Ping timeout: 245 seconds]
ImQ009 has quit [Quit: Leaving]
< zoq> Toshal: Makes sense to me, I think it works both ways, but if you prefer the bias visitor solution let's go with that.
< sakshamB> Toshal: I am not sure if I would get the dimensions of the weights from this.