--- Log opened Mon Jul 31 00:00:18 2017 | ||
-!- deep-book-gk [~1wm_su@d8116.artnet.gda.pl] has joined #shogun | 04:35 | |
-!- deep-book-gk [~1wm_su@d8116.artnet.gda.pl] has left #shogun [] | 04:35 | |
-!- mikeling [uid89706@gateway/web/irccloud.com/x-mkfqyvfomivvhimr] has joined #shogun | 05:55 | |
-!- micmn [~micmn@ec2-54-67-24-92.us-west-1.compute.amazonaws.com] has quit [Quit: ZNC 1.6.5 - http://znc.in] | 10:44 | |
-!- micmn [~micmn@ec2-54-67-24-92.us-west-1.compute.amazonaws.com] has joined #shogun | 10:45 | |
-!- micmn [~micmn@ec2-54-67-24-92.us-west-1.compute.amazonaws.com] has quit [Client Quit] | 10:47 | |
-!- micmn [~micmn@ec2-54-67-24-92.us-west-1.compute.amazonaws.com] has joined #shogun | 10:51 | |
-!- CaBa [~Diu7saig@unaffiliated/caba] has joined #shogun | 11:54 | |
-!- CaBa [~Diu7saig@unaffiliated/caba] has quit [Remote host closed the connection] | 13:46 | |
-!- iglesiasg [~iglesiasg@217.119.234.214] has joined #shogun | 14:12 | |
-!- mode/#shogun [+o iglesiasg] by ChanServ | 14:12 | |
-!- olinguyen [81615ad9@gateway/web/freenode/ip.129.97.90.217] has joined #shogun | 16:42 | |
-!- iglesiasg [~iglesiasg@217.119.234.214] has quit [Quit: leaving] | 16:51 | |
-!- OXPHOS [92bd305b@gateway/web/freenode/ip.146.189.48.91] has joined #shogun | 17:11 | |
-!- HeikoS [~heiko@untrust-out.swc.ucl.ac.uk] has joined #shogun | 17:30 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 17:30 | |
@HeikoS | olinguyen: hi there | 17:33 |
---|---|---|
olinguyen | hey! | 17:33 |
-!- mikeling [uid89706@gateway/web/irccloud.com/x-mkfqyvfomivvhimr] has quit [Quit: Connection closed for inactivity] | 18:01 | |
olinguyen | HeikoS: sorry, quick question | 18:03 |
olinguyen | after I made the changes in C++, i tried to test the new changes in the python module | 18:04 |
olinguyen | but the changes don't seem to be reflected | 18:04 |
olinguyen | i ran make + make install, added the DPYTHON_INTERFACE in cmake | 18:04 |
@HeikoS | ah yes that sometimes happens | 18:05 |
@HeikoS | it is usually a linking/ld path issue | 18:05 |
@HeikoS | "not reflected" means what? how do you run it? | 18:05 |
@HeikoS | from a python script? | 18:05 |
@HeikoS | and there you do "import shogun" | 18:05 |
@HeikoS | olinguyen: maybe it is this: modshogun was recently renamed to shogun | 18:06 |
olinguyen | yes, correct | 18:06 |
@HeikoS | but the old files are probably still around on your machine | 18:06 |
@HeikoS | where do you install shogun to? | 18:06 |
olinguyen | the default path | 18:06 |
@HeikoS | ok | 18:06 |
olinguyen | i'm actually import modshogun | 18:06 |
olinguyen | so that may be it | 18:06 |
@HeikoS | ah there we go | 18:06 |
@HeikoS | delete the shogun installed files | 18:06 |
@HeikoS | then install again | 18:06 |
olinguyen | kk | 18:06 |
olinguyen | thnx | 18:06 |
@HeikoS | then "import modshogun" should give you an error | 18:06 |
@HeikoS | (as it doesnt exist anymore) | 18:06 |
olinguyen | by installed files | 18:07 |
@HeikoS | and "import shogun" should work | 18:07 |
olinguyen | which ones did u mean? | 18:07 |
@HeikoS | /usr/local/include/shogun | 18:07 |
olinguyen | ok got it | 18:07 |
@HeikoS | /usr/local/libshogun* | 18:08 |
@HeikoS | /usr/local/lib/python2.7/dist-packages/*shogun* | 18:08 |
@HeikoS | might be different for you | 18:08 |
@HeikoS | but it is include, lib, and python files | 18:08 |
@HeikoS | modshogun.py | 18:08 |
@HeikoS | olinguyen: let me know if it worked | 18:10 |
@HeikoS | olinguyen: btw re the autoencoders | 18:12 |
@HeikoS | these work really good on data such as images | 18:12 |
@HeikoS | olinguyen: can you send me some references for using that stuff on health data? | 18:13 |
olinguyen | Yea sure. I believe i saw it in some paper, which is why i included it | 18:13 |
olinguyen | i'll send it shortly | 18:13 |
olinguyen | HeikoS: I'm getting this error now on import shogun | 18:19 |
olinguyen | ImportError: /usr/local/lib/python2.7/dist-packages/_shogun.so: undefined symbol: _ZN6shogun12CDotFeatures7get_covEb | 18:19 |
olinguyen | Should I just clean install again? | 18:19 |
@HeikoS | yes it is if your libshogun.so doesnt match moshogun.so | 18:19 |
@HeikoS | i.e. remove everything from shogun install and "make install" again | 18:20 |
@HeikoS | btw | 18:20 |
@HeikoS | better than installing to default is to install to a local directory | 18:20 |
@HeikoS | and then add that to the LD_LIBRARY_PATH and PYTHONPATH | 18:20 |
@HeikoS | much less convoluted that way | 18:20 |
olinguyen | i'll do that instead | 18:20 |
@HeikoS | olinguyen: but beware of: global shogun installation present + local installation with path prefixes | 18:22 |
@HeikoS | that usually results in a mess | 18:22 |
@HeikoS | good idea to remove all the "shogun" from /usr/local | 18:22 |
@HeikoS | olinguyen: success? | 18:32 |
olinguyen | taking a bit longer lol | 18:33 |
@HeikoS | should be a thing of minutes to fix | 18:33 |
olinguyen | i did make clean :( | 18:38 |
@HeikoS | not sure that does it | 18:39 |
@HeikoS | you will have to delete files explicitly | 18:39 |
olinguyen | yea i did, just recompiling is slow thats why its taking some time | 18:45 |
@HeikoS | olinguyen: are you using ccache? | 18:47 |
@HeikoS | since with that, it should only take seconds | 18:47 |
@HeikoS | whats you "ccache -s" say? | 18:47 |
@HeikoS | your | 18:47 |
@HeikoS | i.e. can you post the output of that? | 18:47 |
olinguyen | cache directory /root/.ccache cache hit (direct) 1 cache hit (preprocessed) 0 cache miss 762 called for link 155 files in cache 1437 cache size 129.5 Mbytes max cache size 1.0 Gbytes | 18:48 |
olinguyen | i don't recall configuring it | 18:49 |
@HeikoS | make it larger | 18:49 |
@HeikoS | make it 15GB or so | 18:49 |
@HeikoS | that speeds shogun development up a lot | 18:49 |
@HeikoS | also not sure you want to operator as root? | 18:49 |
@HeikoS | ccache --max-size=15G | 18:51 |
olinguyen | trying that now | 18:54 |
-!- HeikoS [~heiko@untrust-out.swc.ucl.ac.uk] has quit [Ping timeout: 240 seconds] | 18:56 | |
-!- HeikoS [~heiko@host-92-0-169-11.as43234.net] has joined #shogun | 20:11 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 20:11 | |
olinguyen | HeikoS: i installed shogun in a custom location, set PYTHONPATH & LD_LIBRARY_PATH to proper locations but it doesn't seem like my changes in c++ are reflected in python | 21:26 |
olinguyen | also shogun files are still being added to /usr/local/lib/python2.7/dist-packages/ even when I set the custom installation path | 21:27 |
olinguyen | added when i run make install, that is | 21:27 |
olinguyen | HeikoS: ok nvm, I think everything works fine, i was just not testing properly. | 21:40 |
-!- HeikoS [~heiko@host-92-0-169-11.as43234.net] has quit [Ping timeout: 260 seconds] | 21:49 | |
--- Log closed Tue Aug 01 00:00:19 2017 |
Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!