facebookresearch / MUSE

A library for Multilingual Unsupervised or Supervised word Embeddings
Other
3.18k stars 551 forks source link

RuntimeError: invalid argument 1: tensor must have one dimension #164

Closed sophiakene closed 4 years ago

sophiakene commented 4 years ago

Hello, I get the following error when running python3 supervised.py --src_emb ../fastText-0.9.1/test12345.vec --tgt_emb ../fastText-0.9.1/test12345english.vec --cuda False --emb_dim 100 : RuntimeError: invalid argument 1: tensor must have one dimension at /pytorch/aten/src/TH/generic/THTensorEvenMoreMath.cpp:592

Is there any suggestion on how to handle this error? Thank you!

sophiakene commented 4 years ago

I somehow got unsupervised to run but now I get the exact same error as above when running unsupervised. can anyone help?