2018-11-12 22:39
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/
03:26
jeffin143 has quit [Read error: Connection reset by peer]
03:47
ssk99 has joined #mlpack
03:49
<
ssk99 >
Hi guys, how do I make cmake use python3.6 instead of python2.7 while compiling from source? Thanks
03:53
<
ssk99 >
Ah I figured it out. Just have to use the -DPYTHON_EXECUTABLE:FILEPATH=/path/to/python_version
03:54
ssk99 has quit [Remote host closed the connection]
05:23
jeffin143 has joined #mlpack
05:23
<
jeffin143 >
@zoq : you there ?
05:23
<
jeffin143 >
For loading image , can't I give arma::mat as output type to load an image ?
06:20
xiaohong has joined #mlpack
06:28
jeffin143 has quit [Ping timeout: 245 seconds]
06:31
xiaohong has quit [Ping timeout: 276 seconds]
07:09
jeffin143 has joined #mlpack
07:58
ImQ009 has joined #mlpack
08:51
MLJens has joined #mlpack
12:44
KimSangYeon-DGU has joined #mlpack
12:48
ssk99 has joined #mlpack
13:20
ssk99 has quit [Ping timeout: 260 seconds]
13:42
<
rcurtin >
ssk99: good point, if you want to open a PR for that we can merge that change, otherwise I can do it
13:51
KimSangYeon-DGU has quit [Remote host closed the connection]
13:59
MLJens has quit [Ping timeout: 260 seconds]
14:02
<
jeffin143 >
rcurtin , can we convert arma::Mat<unsigned char> to arma::mat ?
14:07
ssk99 has joined #mlpack
14:07
<
zoq >
jeffin143: Will open a PR with the change.
14:08
<
jeffin143 >
Zoq , I am currently working on building the binding for load and same so if you don't mind , I can just make the changes
14:09
<
jeffin143 >
Also , the tutorial mentioned, flipvertical Param , but couldn't find that anywhere
14:09
<
zoq >
jeffin143: If you like you can include that change in the PR you are working on.
14:10
<
zoq >
jeffin143: Ahh, nice catch, this should be transpose.
14:12
<
zoq >
jeffin143: Yes and line 155 should use the eT as well.
14:14
<
jeffin143 >
You ment 115 instead of 155 right
14:14
<
zoq >
jeffin143: I see, we can remove the parameter than.
14:14
<
jeffin143 >
Ok may be also I can remove that , I am not sure if that is there or not , if not there I will just remove it
14:26
<
ssk99 >
Hey rcurtin I opened a PR for including that CMAKE flag in the list of flags. It's my first PR so let me know if everything's fine :)
14:42
xiaohong has joined #mlpack
15:04
xiaohong has quit [Remote host closed the connection]
15:31
<
jeffin143 >
zoq : u still there ?
15:31
<
zoq >
jeffin143: yes
15:32
<
jeffin143 >
The matrix is empty , and next line we are saving that matrix ,to an image
15:34
<
jeffin143 >
And also subsequently ,what is the meaning of line no 392 and 393..???
15:38
ssk99 has quit [Remote host closed the connection]
15:45
<
zoq >
392 + 393, does bring the image in the form we require for multiple images, which is one image per col. But I can't really make sense of 388.
15:45
<
zoq >
Looks like there are a couple of issues that I haven't seen in the first place.
15:45
<
zoq >
I think it makes sense to open a PR that a specific to the image loading/saving changes.
15:46
<
zoq >
I can do that unless you already have most of the changes ready?
15:48
<
jeffin143 >
Is it matrix.setsize of matrix.resize ?
15:50
<
zoq >
jeffin143: set size, but I think img and matrix is swapped, since matrix is the input parameter and should contain the image data.
15:50
<
jeffin143 >
Also , should it be img=matrix.col(0) ?
15:50
<
jeffin143 >
Isntead of matrix.col(0) ? Image..??
15:50
<
jeffin143 >
Ok I will just check and let you know..???
15:59
<
jeffin143 >
We are already providing that isn't it
15:59
<
jeffin143 >
We can specify the image height width and channels
15:59
<
jeffin143 >
And that is resized
15:59
<
zoq >
jeffin143: Not sure what you mean.
16:02
<
jeffin143 >
Umm , zoq , I will will make some changes and raise a pR , and then if you want you can just make apt changes over that
16:03
<
jeffin143 >
Also , unsigned char image = matrix.memptr() throws and error
16:03
<
jeffin143 >
If matrix is double..???
16:03
<
jeffin143 >
I mean arma mat
16:04
<
zoq >
jeffin143: Can you post the complete line, or I guess I can also comment on the PR, once opened.
16:08
<
jeffin143 >
The lines throws error , cannot convert double* to unsigned char in intialisation
16:10
<
zoq >
jeffin143: Right, that once needs a conv_to if you don't pass unsigned int
16:29
<
jeffin143 >
arma::Mat<unsigned char> image = conv_to<unsigned char>::from(matrix) ?
16:29
<
jeffin143 >
Zoq , is above line ok.?
16:33
<
zoq >
jeffin143: arma::Mat<unsigned char> image = conv_to<arma::Mat<unsigned char> >::from(matrix).
18:05
<
rcurtin >
ssk99: saw the PR, thanks for opening that! I'll try to respond later today
20:02
jeffin143 has quit [Ping timeout: 245 seconds]
21:01
ImQ009 has quit [Quit: Leaving]
21:32
travis-ci has joined #mlpack
21:32
<
travis-ci >
mlpack/mlpack#7992 (master - a6040b7 : Marcus Edel): The build has errored.
21:32
travis-ci has left #mlpack []