tagan icon indicating copy to clipboard operation
tagan copied to clipboard

wiki.en.bin cannot be opened for loading!

Open VicZlq opened this issue 5 years ago • 1 comments

hi! I got an error when I tried to run sh scripts/test_flowers.sh Traceback (most recent call last): File "test.py", line 42, in word_embedding = fasttext.load_model(args.fasttext_model) File "/home/zhaoliuqing/anaconda3/lib/python3.7/site-packages/fasttext/FastText.py", line 363, in load_model return _FastText(model_path=path) File "/home/zhaoliuqing/anaconda3/lib/python3.7/site-packages/fasttext/FastText.py", line 43, in init self.f.loadModel(model_path) ValueError: /home/zhaoliuqing/tagan-master/Volumes/ssd/fastText/wiki.en/wiki.en.bin cannot be opened for loading! How can I solve it? thanks!

VicZlq avatar Nov 03 '19 01:11 VicZlq

@VicZlq The path seems wrong, please check if /home/zhaoliuqing/tagan-master/Volumes/ssd/fastText/wiki.en/wiki.en.bin is correct.

woozzu avatar Nov 03 '19 12:11 woozzu