Closed hfxunlp closed 7 years ago
There are shuffle(https://github.com/anoidgit/GloVe-win/blob/master/devc/x64/shuffle/shuffle.c) and glove(https://github.com/anoidgit/GloVe-win/blob/master/devc/x64/glove/glove.c) I used to compile.
The sizeof passed, It is because of malloc, and I'm trying to find out why.
I'm trying to compile a GloVe for Windows(https://github.com/anoidgit/GloVe-win), I have done the job for word2vec(https://github.com/anoidgit/word2vec-win) and it passed all the test. But for GloVe, the vocab_count and cooccur could work correctly, the shuffle can work but not correctly, the GloVe just break after it print "alpha:0.750000", before sizeof and malloc, I have try to print something before the malloc(https://github.com/stanfordnlp/GloVe/blob/master/src/glove.c#L306), but it did not print the test string. I do not know why and hope you could help me if you can. Thank you.