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/
marcosirc has quit [Quit: WeeChat 1.4]
nilay has joined #mlpack
Mathnerd314 has quit [Ping timeout: 250 seconds]
mentekid has joined #mlpack
mentekid has quit [Ping timeout: 272 seconds]
mentekid has joined #mlpack
marcosirc has joined #mlpack
nilay has quit [Quit: Page closed]
< mentekid>
rcurtin: I haven't gotten around to dealing with the removal of omp.h yet, but I've been thinking about it. I have some questions related to it
< mentekid>
a) Should I just add #include <omp.h> to core.hpp? There is a header defined in openMP so we can know when it is included, but how do I tell the compiler "try to include this, if you fail, ignore it?" is there such possibility?
< mentekid>
b) If I don't include omp.h, I can create some helper functions like NumThreads() and NumCores() that monitor and control core use, that way I can avoid the calls to omp functions. But will the parallelization happen this way?
< mentekid>
I mean, doesn't the compiler need omp.h to recognize the #pragmas?
< mentekid>
what I was thinking was, maybe create our own omp.h file and put it (I don't know how but there should be a way) low in the priority. That way, if a "system" omp.h (the actual openMP) is found, we use that one, but if it isn't, we use our own where we simply do a #define omp_not_included or something
< zoq>
mentekid. The OpenMP macros e.g. '#pragma omp' are intrusive and safely skipped when OpenMP is not activated. About including "omp.h", you could add add_definitions(-DHAS_OPENMP) to the CMakeLists.txt once OPENMP_FOUND is true. That way you can add '#ifdef HAS_OPENMP #include <opm.h> #endif ' in core to include 'opm.h' if the system supports OpenMP.
< mentekid>
ah perfect! Thanks I didn't know that :)
< zoq>
Do you need NumThreads() or could you also just use '#pragma omp parallel for', I guess, it could be somewhat ugly if you check HAS_OPENMP to get the number of threads, so maybe defining a default NumThreads() function would make sense.
mentekid has quit [Ping timeout: 240 seconds]
nilay has joined #mlpack
< rcurtin>
I was hpping that all of the OprnMP code cpuld be done with pragmas but I have not had a chance to research it further yet
< rcurtin>
*OpenMP, *could... phone typing is hard :)
< rcurtin>
I think that a lot of the behavior of OpenMP can be controlled with environment variables
< rcurtin>
so possibly any checks to NumThreads() or anything like that are unnecessary
< rcurtin>
hopefully I will have a chance to look further tonight and figure it out
Mathnerd314 has joined #mlpack
< zoq>
ilay: I looked into the feature extraction part, and used the latest version from your fork, but I encountered a problem when running the example ... segmentation fault. Before I take a closer look, maybe you can help me here, should I use another version, or should I modify the data somehow?
< zoq>
*nilay
< nilay>
zoq: it works in my system, did you use the fm branch?
< nilay>
i'll try running it again
< zoq>
nilay: yes
< nilay>
and let you know
< zoq>
okay, thanks
< nilay>
it works on the remote
< nilay>
and there is nothing to commit also
< nilay>
it'll only run with arma 7.2
< nilay>
i'll change that index_min() function today, other than that there is nothing to commit also
< nilay>
i am running the executable bin/mlpack_edge_boxes
< zoq>
hm, okay, I have written a simple index_max function, maybe I missed something
< nilay>
maybe that function you have to check then
< nilay>
or could it be anything weird?
< zoq>
not sure, I'll go and take a closer look, just wanted to check if you think I missed something
< nilay>
do you want me to do anything before you take a look?
< zoq>
If you like, you can incorporate the index_min function.
< nilay>
ok i'll go ahead and do that
< nilay>
zoq: can you check now, thanks.
< zoq>
nilay: Thanks!
< nilay>
zoq: what are you checking with the hoeffedding tree and discretize function. Is there anything i can do
kwikadi has quit [Remote host closed the connection]
kwikadi has joined #mlpack
< zoq>
nilay: I already modified the Train() function of the hoeffding tree, one thing left is to incorporate the mapping function. Since you said it's kinda slow, I wanted to check if we could do something to make it faster. I'm trying to finish the modification in the next days.
< zoq>
Do you made progress with the inception layer, do you need any help?
< nilay>
zoq: uptil now, i have only did reading.
< nilay>
i still have one chapter left. i'll implement from tomorrow
< zoq>
Ah, great, I really like the idea of using a 1x1 convolution to reduce the kernel dimension, it's pretty neat and it's so simple.
< nilay>
yes, i understood that now, finally :)
< nilay>
we reduce the dimension of input, not the kernel?