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

not found data file #15

Closed
doubleycn opened this issue Aug 22, 2017 · 2 comments
Closed

not found data file #15

doubleycn opened this issue Aug 22, 2017 · 2 comments

Comments

@doubleycn
Copy link

hdf5 is not supported on this machine (please install/reinstall h5py for optimal experience)
('cache_path:', 'cache_vocabulary_label_pik/_word_voabulary.pik', 'file_exists:', False)
('create vocabulary. word2vec_model_path:', 'zhihu-word2vec-title-desc.bin-100')
Traceback (most recent call last):
  File "p5_fastTextB_train.py", line 161, in <module>
    tf.app.run()
  File "/usr/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 48, in run
    _sys.exit(main(_sys.argv[:1] + flags_passthrough))
  File "p5_fastTextB_train.py", line 44, in main
    vocabulary_word2index, vocabulary_index2word = create_voabulary()
  File "../aa1_data_util/data_util_zhihu.py", line 26, in create_voabulary
    model=word2vec.load(word2vec_model_path,kind='bin')
  File "/usr/lib64/python2.7/site-packages/word2vec/io.py", line 18, in load
    return word2vec.WordVectors.from_binary(fname, *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/word2vec/wordvectors.py", line 154, in from_binary
    with open(fname, 'rb') as fin:
IOError: [Errno 2] No such file or directory: 'zhihu-word2vec-title-desc.bin-100'

please help.

@lydemo
Copy link

lydemo commented Aug 22, 2017

I also meet the same problem as yours...

@brightmart
Copy link
Owner

please find it in:
#3

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

3 participants