pytorch-wordemb
pytorch-wordemb copied to clipboard
Segmentation fault (core dumped)
I loaded the word2vec embeddings trained by gensim, and I encountered the Segmentation fault (core dumped) error.
I've experienced the same issue on Mac. (segmentation fault 11) With some search, I figured out that it's a bug somewhat related to Mac OS. Then I tried the same code to load Glove embeddings on CentOS, and it worked well.
but still, I couldn't figure out how to load Glove text file on Mac. Any help will be appreciated.
I got this problem on Mac, too.
With Mac, I just used glove-python to load GloVe file. I used load_stanford(text_path) function of Glove object.
But still haven't figured out how to use pytorch-wordemb with Mac.
But how to replace load_glove_text(filename)
in pytorch-wordemb
?