tensorflow-deep-learning icon indicating copy to clipboard operation
tensorflow-deep-learning copied to clipboard

word2vec_optimized.py No module named embedding

Open tobigithub opened this issue 9 years ago • 1 comments


root@fb729273837c:/tensorflow/tensorflow/models/embedding# python word2vec_optimized.py   --train_data=text8   --eval_data=questions-words.txt   --save_path=/tmp/
Traceback (most recent call last):
  File "word2vec_optimized.py", line 26, in <module>
    from tensorflow.models.embedding import gen_word2vec as word2vec
ImportError: No module named embedding

tobigithub avatar Nov 27 '15 08:11 tobigithub

The word2vec examples requires a bazel setup and compilation. See TF word2vec readme

tobigithub avatar Nov 27 '15 08:11 tobigithub