Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wiki.en.bin cannot be opened for loading! #16

Open
VicZlq opened this issue Nov 3, 2019 · 1 comment
Open

wiki.en.bin cannot be opened for loading! #16

VicZlq opened this issue Nov 3, 2019 · 1 comment

Comments

@VicZlq
Copy link

VicZlq commented Nov 3, 2019

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!

@woozzu
Copy link
Owner

woozzu commented Nov 3, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants