inspirehep / magpie

Deep neural network framework for multi-label text classification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Train error on start

cka-14 opened this issue · comments

Hi!

After running this code:

from magpie import Magpie

magpie = Magpie()
magpie.train_word2vec('data\hep-categories', vec_dim=20)

I'm receiving this error:

<gensim.models.word2vec.Word2Vec at 0x1eeeedaba58>

Is this a memory error or hard drive space error? Or completely something else?

Thanks.

that's an object that the method returns. You should assign it to a variable and then use it for Magpie training.

Thanks for answer!

It was from readme so should i just assign variable like
var = magpie.train_word2vec('data\hep-categories', vec_dim=20)? (Newbie in python)

And is there any long description/introduction about magpie?

Thanks, was using this. I searched the issues to learn more about this topic. In readme file the commands are initiated from CLI with python, right? I'm using jupyter maybe that was a problem also.

Will try to do from CLI. On install I also got some errors like scipy wheel error (using windows 10) and installed manually all the dependencies with updated versions. Should I downgrade them?
Thanks in advance.

CLI worked with updated versions of dependencies!

Thanks for your time a lot, marking as resolved!

And have a nice day!