tobigithub / tensorflow-deep-learning

google tensorflow deep learning for big data examples
201 stars 48 forks source link

word2vec_optimized.py No module named embedding #13

Open tobigithub opened 8 years ago

tobigithub commented 8 years ago

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 commented 8 years ago

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