<zoq[m]1>
Hm, not sure ensmallen is the right place to do that, at the end it's header only, and I think you will find better cross-compilation tutorials on the internet.
<zoq[m]1>
What I could imagine is a blog post or something that shows an example or something like that.
<zoq[m]1>
Which we should do for mlpack anyway.
<shrit[m]>
therefore I have thought about it
<shrit[m]>
Agreed, it does not make sense to cross compile the ensmallen tests only for a rare case as we have faced an issue with armel debian
<shrit[m]>
Eventually, the mlpack cross compilation allows to cross compile the CLI binding which is the most important I think
<shrit[m]>
I am putting the idea on pause now, we have more important thing to focus on, if in the future, we discover a new use case that might be interesting for ensmallen then I think we can bring back the idea to the table, otherwise, I think it can wait as well
<shrit[m]>
moving mlpack to header only is much more important
<zoq[m]1>
Sorry, I didn't get what you are trying to do earlier.
texasmusicinstru has quit [Remote host closed the connection]
texasmusicinstru has joined #mlpack
texasmusicinstru has quit [Remote host closed the connection]
texasmusicinstru has joined #mlpack
<jonpsy[m]>
For windows, i think its worth guiding users towards WSL path. It'll take much less downloads, the process will be, and i cant stress this enough, greatly simplified.
<jonpsy[m]>
s/For windows, i think its worth guiding users towards WSL path. It'll take much less downloads, the process will be, and i cant stress this enough, greatly simplified./For windows, i think its worth guiding users towards WSL path. It'll take much less downloads and the process will be, and i cant stress this enough, greatly simplified./
<rcurtin[m]>
hmmmmmm... I ran the `mnist_cnn` example on my updated `Convolution` layer and the loss increased instead of decreased. I think there might be a bug π
<jonpsy[m]>
are you sure its not due to fluctuations?
<rcurtin[m]>
nope it goes up monotonically over 11 epochs and gets awful training set performance π
<jonpsy[m]>
Worth investigating
texasmusicinstru has quit [Remote host closed the connection]
texasmusicinstru has joined #mlpack
texasmusicinstru has quit [Remote host closed the connection]
texasmusicinstru has joined #mlpack
texasmusicinstru has quit [Remote host closed the connection]
texasmusicinstru has quit [Remote host closed the connection]
texasmusicinstru has joined #mlpack
texasmusicinstru has quit [Remote host closed the connection]
texasmusicinstru has joined #mlpack
texasmusicinstru has quit [Remote host closed the connection]
texasmusicinstru has joined #mlpack
texasmusicinstru has quit [Remote host closed the connection]
texasmusicinstru has joined #mlpack
<yugansharora01yu>
I am compiling and i can see hundreds of linker errorβΉοΈ
texasmusicinstru has quit [Remote host closed the connection]
texasmusicinstru has joined #mlpack
texasmusicinstru has quit [Remote host closed the connection]
texasmusicinstru has joined #mlpack
<yugansharora01yu>
Building with master branch is even worse
<yugansharora01yu>
600 linker errors
<yugansharora01yu>
And my visual studio stopped responding and closed on its own
<yugansharora01yu>
@heisenbuug any idea what should i do?
texasmusicinstru has quit [Remote host closed the connection]
texasmusicinstru has joined #mlpack
<yugansharora01yu>
I'm trying to build mlpack from 3-4 days and first time I got 1 linker error and now with master branch 600 linker errors and a non-responding visual studio π
<jonpsy[m]>
jeffin143: hey got a minute?
<jeffin143[m]>
Yes jonpsy ?
<jonpsy[m]>
About the Amazon job you got, did you apply off campus?
<jeffin143[m]>
Yes it was off campus
<jonpsy[m]>
Okay, perfect.
<yugansharora01yu>
@heisenbuug @marcusedel:matrix.org @shrit:matrix.org do you guys have anything else in mind? Now what should I do?
<heisenbuugGopiMT>
can you show me the errors?
<yugansharora01yu>
Visual studio closed but I got a pic of it
<yugansharora01yu>
Is there any way that I can get the output or something like cmakecache
<shrit[m]>
I still do no understand, what is the reason to use visual studio if you said that you are using the termianl?
<shrit[m]>
you can just make from terminal after running cmake
<heisenbuugGopiMT>
Yes, navigate to the build folder run make command from terminal...
<heisenbuugGopiMT>
I just wanted you to follow keon's steps to get all the require files...
<jonpsy[m]>
yugansharora01 (yugansharora01): on the side, can you install WSL. Once you got the Linux subsytem down, it'll be a cakewalk
<yugansharora01yu>
Error LINK2019 : unresolved external symbol sgetrf_ referenced in function "void __cdecl arma::lapack" something --- this is the error
<yugansharora01yu>
@heisenbuug keon's blog says use visual studio
<yugansharora01yu>
It clearly says open the .sln and build the solution
<yugansharora01yu>
Thing is there are a lot of linker errors
texasmusicinstru has quit [Remote host closed the connection]
texasmusicinstru has joined #mlpack
<yugansharora01yu>
Here are some pics of the errors
<yugansharora01yu>
π i didn't knew it would be that difficult
<yugansharora01yu>
Ohh I forgot I can't attach files from phone π
texasmusicinstru has quit [Remote host closed the connection]
texasmusicinstru has joined #mlpack
<shrit[m]>
rcurtin: Do you have an idea how to handle math/random.cpp
<shrit[m]>
it contains exported definition, I do know why these have been done that way
<shrit[m]>
* I do not know why
texasmusicinstru has quit [Remote host closed the connection]
texasmusicinstru has joined #mlpack
texasmusicinstru has quit [Remote host closed the connection]
texasmusicinstru has joined #mlpack
texasmusicinstru has quit [Remote host closed the connection]
texasmusicinstru has joined #mlpack
<rcurtin[m]>
the issue is that we need a singleton class for the RNG
<rcurtin[m]>
that's why it's been in a .cpp in the past, but that may need to be rethought now that it will be header-only
<rcurtin[m]>
it should still be a singleton though
texasmusicinstru has quit [Remote host closed the connection]
texasmusicinstru has joined #mlpack
<shrit[m]>
we can create an RNG class and then we do not allow copy it?
<shrit[m]>
only move it
<shrit[m]>
this way we will only one class, impossible to copy, once it is declared we have it
texasmusicinstru has quit [Remote host closed the connection]
texasmusicinstru has joined #mlpack
<rcurtin[m]>
yeah, that's a singleton, but it may not be necessary to prevent copies, etc... the key is just that there is only one of them
<rcurtin[m]>
I think one per translation unit is okay
<rcurtin[m]>
take a look at `IO::GetSingleton()` to see the pattern in use... the same thing might be necessary for the random code instead of `randGen`, as an inlined header function
<rcurtin[m]>
but you may want to do some reading about header-only singletons first, in case there are some other intricacies that need to be considered ποΈ
texasmusicinstru has quit [Remote host closed the connection]