--- Log opened Sat Jun 18 00:00:44 2016 | ||
arianepaola | bye everyone, have a great weekend | 01:21 |
---|---|---|
shogun-buildbot | build #23 of memleak - valgrind is complete: Failure [failed memory check] Build details are at http://buildbot.shogun-toolbox.org/builders/memleak%20-%20valgrind/builds/23 blamelist: Heiko Strathmann <heiko.strathmann@gmail.com>, Sanuj <sanuj.sharma.in@gmail.com>, lambday <heavensdevil6909@gmail.com> | 05:25 |
shogun-buildbot | build #1024 of nightly_none is complete: Failure [failed test] Build details are at http://buildbot.shogun-toolbox.org/builders/nightly_none/builds/1024 blamelist: Heiko Strathmann <heiko.strathmann@gmail.com>, Sanuj <sanuj.sharma.in@gmail.com>, lambday <heavensdevil6909@gmail.com> | 05:30 |
shogun-buildbot | build #1154 of nightly_default is complete: Failure [failed test notebooks] Build details are at http://buildbot.shogun-toolbox.org/builders/nightly_default/builds/1154 blamelist: Heiko Strathmann <heiko.strathmann@gmail.com>, Sanuj <sanuj.sharma.in@gmail.com>, lambday <heavensdevil6909@gmail.com> | 06:16 |
-!- sonne|osx [~sonne@x4db33d9b.dyn.telefonica.de] has joined #shogun | 06:32 | |
-!- sonne|osx [~sonne@x4db33d9b.dyn.telefonica.de] has quit [Quit: sonne|osx] | 06:45 | |
-!- c4goldsw [5da420e6@gateway/web/cgi-irc/kiwiirc.com/ip.93.164.32.230] has joined #shogun | 07:51 | |
-!- c4goldsw [5da420e6@gateway/web/cgi-irc/kiwiirc.com/ip.93.164.32.230] has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] | 08:08 | |
-!- sonne|osx [~sonne@x4db33d9b.dyn.telefonica.de] has joined #shogun | 09:30 | |
-!- GandalfTheWizard [~Eva@112.10.170.90] has joined #shogun | 10:25 | |
-!- sonne|osx [~sonne@x4db33d9b.dyn.telefonica.de] has quit [Quit: sonne|osx] | 10:26 | |
-!- GandalfTheWizard [~Eva@112.10.170.90] has quit [Quit: Leaving.] | 10:32 | |
-!- GandalfTheWizard [~Eva@112.10.170.90] has joined #shogun | 10:39 | |
-!- GandalfTheWizard [~Eva@112.10.170.90] has quit [Quit: Leaving.] | 10:50 | |
-!- besser82 [~besser82@fedora/besser82] has joined #shogun | 11:28 | |
-!- mode/#shogun [+o besser82] by ChanServ | 11:28 | |
-!- besser82 [~besser82@fedora/besser82] has quit [Ping timeout: 244 seconds] | 12:04 | |
-!- sanuj [~sanuj@117.203.15.59] has joined #shogun | 15:03 | |
sanuj | lisitsyn, wazzup | 15:04 |
lisitsyn | sanuj: hey | 15:04 |
sanuj | got time? | 15:04 |
lisitsyn | yeah but a bit | 15:04 |
sanuj | okay i have added all the classes from my gist to sgbase.i | 15:05 |
sanuj | except the templates | 15:05 |
sanuj | commented them out | 15:05 |
sanuj | what next? | 15:05 |
lisitsyn | sanuj: is it working from swig yet? | 15:08 |
sanuj | lisitsyn, it's visible from python | 15:10 |
sanuj | and i can make TagKernel etc | 15:10 |
sanuj | how else to check? | 15:10 |
sanuj | can't make objects since these are abstract classes | 15:11 |
sanuj | so can't do setKernel(Kernel()) etc | 15:11 |
sanuj | lisitsyn, but setKernel(gaussiankernel) is not working | 15:12 |
lisitsyn | sanuj: why? | 15:12 |
lisitsyn | it is the first priority to fix you know ;) | 15:12 |
sanuj | lisitsyn, how to fix | 15:12 |
lisitsyn | sanuj: well how does it doesn't work? | 15:13 |
lisitsyn | what error? | 15:13 |
sanuj | lisitsyn, when i do this in python | 15:16 |
sanuj | combkernel.setKernel("gauss", gausskernel) | 15:16 |
sanuj | lisitsyn, error is: TypeError: in method 'SGObject_setKernel', argument 3 of type 'CKernel *' | 15:16 |
lisitsyn | what is gausskernel? | 15:17 |
lisitsyn | just GaussianKernel? | 15:17 |
lisitsyn | paste the full example pleaze | 15:17 |
sanuj | gausskernel = sg.GaussianKernel() | 15:17 |
lisitsyn | ok then it is quite strange | 15:17 |
lisitsyn | how does the definition of setKernel looks like? | 15:18 |
sanuj | lisitsyn, shall i tell you what's inside pythonwrapper? | 15:19 |
lisitsyn | sanuj: it would make sense to compare | 15:19 |
lisitsyn | how say LibLinear ctor looks like | 15:19 |
lisitsyn | ssorry LibSVM | 15:20 |
lisitsyn | and then setKernel | 15:20 |
lisitsyn | both of them accept CKernel* as an argument | 15:20 |
sanuj | lisitsyn, CLibSVM(float64_t C, CKernel* k, CLabels* lab, | 15:21 |
sanuj | LIBSVM_SOLVER_TYPE st=LIBSVM_C_SVC); | 15:21 |
lisitsyn | nono | 15:21 |
lisitsyn | in modshogun_** | 15:21 |
lisitsyn | this giant thing | 15:21 |
sanuj | that's opening ;) | 15:21 |
lisitsyn | ok | 15:21 |
sanuj | lisitsyn, SWIGINTERN int _wrap_new_LibSVMFile__SWIG_4(PyObject *self, PyObject *args) { | 15:25 |
sanuj | this ^? | 15:25 |
lisitsyn | ahh true | 15:25 |
lisitsyn | sanuj: yeah lets compare what happening inside | 15:25 |
lisitsyn | not libsvmfile | 15:25 |
-!- besser82 [~besser82@fedora/besser82] has joined #shogun | 15:25 | |
-!- mode/#shogun [+o besser82] by ChanServ | 15:25 | |
lisitsyn | but libsvm though | 15:25 |
sanuj | oh | 15:25 |
lisitsyn | sanuj: ok sorry have to go, rain starts and I am in a park :D | 15:28 |
sanuj | lisitsyn, lol | 15:28 |
sanuj | will you be back? | 15:28 |
shogun-buildbot | build #512 of deb1 - libshogun - PR is complete: Failure [failed cookbook] Build details are at http://buildbot.shogun-toolbox.org/builders/deb1%20-%20libshogun%20-%20PR/builds/512 blamelist: sanuj | 16:17 |
-!- sanuj [~sanuj@117.203.15.59] has quit [Ping timeout: 276 seconds] | 16:47 | |
-!- besser82 [~besser82@fedora/besser82] has quit [Ping timeout: 244 seconds] | 17:00 | |
-!- sanuj [~sanuj@117.203.15.59] has joined #shogun | 17:55 | |
shogun-buildbot | build #513 of deb1 - libshogun - PR is complete: Success [build successful] Build details are at http://buildbot.shogun-toolbox.org/builders/deb1%20-%20libshogun%20-%20PR/builds/513 | 18:13 |
sanuj | lisitsyn, back? | 18:13 |
lisitsyn | sanuj: yeap | 18:14 |
sanuj | lisitsyn, you want to see this | 18:15 |
sanuj | SWIGINTERN int _wrap_new_LibSVM__SWIG_0(PyObject *self, PyObject *args) { | 18:15 |
sanuj | shall i put it on pastebin? | 18:15 |
lisitsyn | what happnes next | 18:15 |
lisitsyn | yeah | 18:15 |
lisitsyn | whole method | 18:15 |
lisitsyn | the same for setKernel | 18:15 |
sanuj | lisitsyn, http://pastebin.com/B4WhUgDB | 18:17 |
lisitsyn | sanuj: see the line 185 | 18:18 |
lisitsyn | this is where it happens | 18:18 |
sanuj | lisitsyn, http://pastebin.com/0cKHBnrC | 18:20 |
sanuj | lisitsyn, btw i have made these methods private in SGObject.h | 18:26 |
sanuj | Any _set(BaseTag& _tag, const Any& any); | 18:26 |
sanuj | + Any _get(BaseTag& _tag) const; | 18:26 |
sanuj | + bool _has(const BaseTag& _tag) const; | 18:26 |
sanuj | + std::vector<std::string> _parameters() const; | 18:26 |
lisitsyn | yeah sure | 18:26 |
lisitsyn | makes sense | 18:26 |
sanuj | lisitsyn, what do you think about setKernel | 18:27 |
lisitsyn | sanuj: I see no difference yet | 18:27 |
lisitsyn | sanuj: what about your example? can you paste it as well? | 18:27 |
sanuj | lisitsyn, python example? | 18:28 |
lisitsyn | sanuj: yes | 18:28 |
sanuj | lisitsyn, http://pastebin.com/dR6apDZd | 18:31 |
lisitsyn | crazy! | 18:32 |
sanuj | lisitsyn, my code? :) | 18:32 |
lisitsyn | res2 = SWIG_ConvertPtr(obj2, &argp2,SWIGTYPE_p_shogun__CKernel, 0 | 0 ); | 18:32 |
lisitsyn | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_CKernel, 0 | 0 ); | 18:33 |
lisitsyn | there is a slight difference | 18:33 |
lisitsyn | 2/3 is ok, that's just the order of arguments | 18:33 |
sanuj | of p | 18:33 |
lisitsyn | but shogun before CKernel | 18:33 |
lisitsyn | it could mean something | 18:33 |
sanuj | ohkay | 18:33 |
lisitsyn | they should be the same I guess that's the thing | 18:34 |
sanuj | i don't even understand what these 2 lines mean | 18:34 |
sanuj | some pointer conversion | 18:34 |
lisitsyn | sanuj: yes just some pointer conversion | 18:34 |
lisitsyn | and SWIGTYPE_p .. is the type we are converting to | 18:35 |
lisitsyn | it looks that we have some namespace issue | 18:35 |
lisitsyn | find where SWIGTYPE_p_shogun__CKernel is defined | 18:35 |
sanuj | yeah | 18:35 |
lisitsyn | maybe it would help | 18:35 |
sanuj | okay let me see | 18:35 |
sanuj | lisitsyn, #define SWIGTYPE_p_shogun__CKernel swig_types[1181] | 18:36 |
lisitsyn | sanuj: it is something in sgbase.i I guess | 18:39 |
sanuj | lisitsyn, what is swig_types | 18:40 |
sanuj | i mean where can i find it | 18:40 |
lisitsyn | sanuj: no idea | 18:40 |
lisitsyn | I guess in the same file | 18:41 |
sanuj | lisitsyn, it's working !!! | 19:18 |
sanuj | i had all my swig stuff in namespace shogun{} | 19:18 |
sanuj | now i replaced it by "using namespace shogun;" | 19:18 |
sanuj | lisitsyn, but there is one problem | 19:20 |
lisitsyn | sanuj: what's that? | 20:21 |
sanuj | lisitsyn, all of it is working | 20:21 |
sanuj | only template classes are left | 20:21 |
lisitsyn | sanuj: I expect some other problem | 20:22 |
lisitsyn | reference counting | 20:22 |
lisitsyn | I think we don't handle that yet | 20:22 |
sanuj | yeah we don't | 20:22 |
sanuj | lisitsyn, i'm going to sleep | 20:46 |
lisitsyn | ok good nite | 20:46 |
sanuj | can you mail me what to try tomorrow | 20:46 |
sanuj | lisitsyn, i don't know how to proceed next for swig | 20:47 |
lisitsyn | yeah | 20:47 |
lisitsyn | ok | 20:47 |
sanuj | bye | 20:47 |
-!- sanuj [~sanuj@117.203.15.59] has quit [Remote host closed the connection] | 20:48 | |
-!- besser82 [~besser82@fedora/besser82] has joined #shogun | 21:40 | |
-!- mode/#shogun [+o besser82] by ChanServ | 21:40 | |
-!- OXPHOS [4058e386@gateway/web/freenode/ip.64.88.227.134] has joined #shogun | 23:13 | |
-!- OXPHOS [4058e386@gateway/web/freenode/ip.64.88.227.134] has quit [Quit: Page closed] | 23:38 | |
--- Log closed Sun Jun 19 00:00:46 2016 |
Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!