--- Log opened Tue Feb 12 00:00:07 2019 | ||
-!- lambday [a7dcee98@gateway/web/freenode/ip.167.220.238.152] has quit [] | 06:05 | |
-!- lambday [a7dcee98@gateway/web/freenode/ip.167.220.238.152] has joined #shogun | 06:34 | |
-!- mode/#shogun [+o lambday] by ChanServ | 06:35 | |
-!- gf712 [90520825@gateway/web/freenode/ip.144.82.8.37] has joined #shogun | 08:32 | |
-!- wiking_ [~wiking@bmi-airport-1.inf.ethz.ch] has joined #shogun | 09:40 | |
-!- besser82 [~besser82@fedora/besser82] has quit [Quit: Freedom, Friends, Features, First [fedoraproject.org]] | 09:42 | |
-!- wiking_ is now known as wiking | 09:43 | |
-!- wiking [~wiking@bmi-airport-1.inf.ethz.ch] has quit [Changing host] | 09:43 | |
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun | 09:43 | |
-!- mode/#shogun [+o wiking] by ChanServ | 09:43 | |
-!- besser82 [~besser82@fedora/besser82] has joined #shogun | 09:43 | |
-!- mode/#shogun [+o besser82] by ChanServ | 09:43 | |
-!- Lefteris [~lefteris@2a05:b400:100:100:34eb:43bc:7d95:dc49] has joined #shogun | 10:02 | |
-!- heytitle [~heytitle@ip5b4171a6.dynamic.kabel-deutschland.de] has joined #shogun | 10:10 | |
-!- heytitle [~heytitle@ip5b4171a6.dynamic.kabel-deutschland.de] has quit [Client Quit] | 10:11 | |
@wiking | wuwei[m]: are you here? | 10:11 |
---|---|---|
wuwei[m] | wiking: hey | 10:31 |
Lefteris | gf712, any news about the ATI meeting next week? | 11:00 |
gf712 | hey, sorry about that I'll find a meeting room now | 11:08 |
gf712 | wiking what time are you arriving/leaving next week? | 11:08 |
Lefteris | No problem gf712 I don't have anything scheduled next week so I am free for any date/time | 11:15 |
@wiking | gf712: i think tuesday would be ideal but i would get back to you | 11:16 |
@wiking | i should be there on 18-19 and 20 (on the 20th i leave on the afternoon) | 11:16 |
gf712 | wiking Lefteris: OK, I'll book something for Tuesday afternoon and then can book more rooms if needed | 11:34 |
Lefteris | OK, I will book tickets for Tuesday then | 11:41 |
Lefteris | Thanks! | 11:41 |
Lefteris | gf712, I am working on removing the m_gradient_parameters. The additions in PR https://github.com/shogun-toolbox/shogun/pull/4432/files might be helpfull. Is there a plan to merge it? | 12:21 |
Lefteris | I can steal it until you merge it :P | 12:24 |
gf712 | Lefteris yes it should be merged in https://github.com/shogun-toolbox/shogun/pull/4522 | 12:27 |
Lefteris | Ah, ok, thansk | 12:28 |
gf712 | just thinking if it is worth making it return by reference | 12:28 |
gf712 | I am not sure what is happening behind the scenes but without any optimisation I think the map is being copied twie | 12:29 |
gf712 | twice | 12:29 |
gf712 | once by std::copy_if and then copied when it is returned | 12:29 |
gf712 | Lefteris is this correct? | 12:29 |
Lefteris | I think is better to not use a reference return. I believe it is safer the way you have it | 12:33 |
Lefteris | Are you worried about performace? | 12:34 |
gf712 | yes, but I guess it doesn't matter too much in this case | 12:36 |
gf712 | in which situation are you going to use it? | 12:37 |
Lefteris | I want to get the parameters that are gradients and for another case model_parameters | 12:38 |
Lefteris | Also, ParametersMap result will go out of scope if you return it by reference | 12:39 |
Lefteris | Go to the end of this page to see example https://www.tutorialspoint.com/cplusplus/returning_values_by_reference.htm | 12:40 |
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection] | 12:49 | |
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun | 12:56 | |
-!- mode/#shogun [+o wiking] by ChanServ | 12:56 | |
gf712 | Lefteris true! | 13:03 |
-!- heytitle [~heytitle@ip5b4171a6.dynamic.kabel-deutschland.de] has joined #shogun | 13:32 | |
-!- heytitle [~heytitle@ip5b4171a6.dynamic.kabel-deutschland.de] has quit [] | 14:45 | |
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection] | 14:47 | |
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun | 15:02 | |
-!- mode/#shogun [+o wiking] by ChanServ | 15:02 | |
-!- wiking [~wiking@huwico/staff/wiking] has quit [Ping timeout: 268 seconds] | 15:07 | |
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun | 15:52 | |
-!- mode/#shogun [+o wiking] by ChanServ | 15:52 | |
-!- Lefteris [~lefteris@2a05:b400:100:100:34eb:43bc:7d95:dc49] has quit [Quit: Leaving] | 15:59 | |
-!- Lefteris [836f058f@gateway/web/freenode/ip.131.111.5.143] has joined #shogun | 16:01 | |
-!- feriglegarc [6cab80bc@gateway/web/freenode/ip.108.171.128.188] has joined #shogun | 16:15 | |
feriglegarc | gf712: https://en.cppreference.com/w/cpp/language/lambda | 16:16 |
feriglegarc | dangling references paragraph might explain it? | 16:16 |
gf712 | feriglegarc The issue only appears when I do casting in the lambda | 16:44 |
@wiking | wuwei[m]: ok | 16:48 |
@wiking | so yeah the problem is that pipeline woudl be then | 16:48 |
@wiking | class Cpipeline: public CMachine, public CTransformer | 16:49 |
@wiking | right? | 16:49 |
-!- gf712 [90520825@gateway/web/freenode/ip.144.82.8.37] has quit [Ping timeout: 256 seconds] | 16:49 | |
wuwei[m] | yes | 16:49 |
-!- gf712_ [90520825@gateway/web/freenode/ip.144.82.8.37] has joined #shogun | 16:49 | |
@wiking | afaik swig doesn't support multiinheritance | 16:49 |
@wiking | "as limited or allowed by the target language" | 16:49 |
-!- Lefteriss [~lefteris@2a05:b400:100:100:bdf1:ac1:4ec2:61dc] has joined #shogun | 16:50 | |
@wiking | "813. Warning for classname, base baseclass ignored. Multiple inheritance is not supported in Java. (Java)." | 16:50 |
@wiking | "833. Warning for classname, base baseclass ignored. Multiple inheritance is not supported in C#. (C#)." | 16:50 |
@wiking | so yeah we would loose c# and java then | 16:51 |
-!- Lefteris [836f058f@gateway/web/freenode/ip.131.111.5.143] has quit [Ping timeout: 256 seconds] | 16:51 | |
-!- Lefteriss [~lefteris@2a05:b400:100:100:bdf1:ac1:4ec2:61dc] has quit [Client Quit] | 16:51 | |
wuwei[m] | what is the behaviour in java c#? the base class is ignored, do we still have the api available? | 16:52 |
@wiking | i think the whole class is ignored thne | 16:52 |
wuwei[m] | that's terrible | 16:53 |
-!- gf712_ [90520825@gateway/web/freenode/ip.144.82.8.37] has quit [Ping timeout: 256 seconds] | 16:53 | |
@wiking | yep | 16:53 |
wuwei[m] | we can put the transformer parts to a interface "transform", but we are not able to pass pipeline as a transformer | 16:54 |
-!- shogun-buildbot [~shogun-bu@7nn.de] has quit [Remote host closed the connection] | 16:55 | |
-!- gf712 [90520825@gateway/web/freenode/ip.144.82.8.37] has joined #shogun | 17:09 | |
gf712 | wiking the shogun.ml website seems to be down? | 17:11 |
@wiking | yes | 17:11 |
@wiking | the server's hdd got full | 17:11 |
@wiking | i'm working on it | 17:11 |
@wiking | :D | 17:11 |
gf712 | ah ok, just checking you knew! | 17:11 |
gf712 | wiking did anything happen in the last couple minutes of the meeting? My connection went down | 17:12 |
@wiking | we were just discussing pipeline problems | 17:12 |
@wiking | :> | 17:12 |
gf712 | last part I heard was taking stuff from swig because of factories | 17:12 |
gf712 | OK! | 17:12 |
-!- shogun-buildbot [~shogun-bu@7nn.de] has joined #shogun | 17:15 | |
feriglegarc | gf712: about the cast in the lambda - I don't know for sure right away. At what point have you detected the dangling reference, returning from the lambda or just after the cast it is already corrupted | 17:22 |
feriglegarc | ? | 17:23 |
gf712 | feriglegarc: the bad memory error appears when I call the lambda. I am not sure I can break it down further | 17:37 |
gf712 | I think casting references inside a lambda is the issue but I haven't checked it yet | 17:38 |
gf712 | but capturing references and accessing their data members works fine | 17:39 |
gf712 | I.e. capture num_lhs and then dereferencing it *num_lhs works fine | 17:41 |
-!- feriglegarc_ [50fe9643@gateway/web/freenode/ip.80.254.150.67] has joined #shogun | 17:43 | |
feriglegarc_ | gf712: all right | 17:43 |
feriglegarc_ | maybe checking the output directly after the cast can shed some light | 17:43 |
-!- feriglegarc [6cab80bc@gateway/web/freenode/ip.108.171.128.188] has quit [Ping timeout: 256 seconds] | 17:45 | |
-!- gf712 [90520825@gateway/web/freenode/ip.144.82.8.37] has quit [Ping timeout: 256 seconds] | 18:13 | |
-!- feriglegarc_ [50fe9643@gateway/web/freenode/ip.80.254.150.67] has quit [Quit: Page closed] | 18:19 | |
-!- Dendemann [~besser82@fedora/besser82] has joined #shogun | 20:01 | |
-!- mode/#shogun [+o Dendemann] by ChanServ | 20:01 | |
-!- besser82 [~besser82@fedora/besser82] has quit [Ping timeout: 240 seconds] | 20:05 | |
-!- Dendemann is now known as besser82 | 20:05 | |
-!- feriglegarc [3ea305ab@gateway/web/freenode/ip.62.163.5.171] has joined #shogun | 22:21 | |
--- Log closed Wed Feb 13 00:00:09 2019 |
Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!