Tensorflow - no module labeled “attachments” in tensorflow.models.embeddings

I am trying to start vector representations of words using Tensorflow, found here:

http://www.tensorflow.org/tutorials/word2vec/index.md

The first script, word2vec_basic.py works fine, but the second (found here)

https://tensorflow.googlesource.com/tensorflow/+/master/tensorflow/models/embedding/word2vec.py

gives me the error "ImportError: No module named embedding" on line 28. I installed shadoworflow according to the instructions on the page, for some reason why I would not get the attachment module containing word2vec?

+4
source share
1 answer

word2vec, word2vec.py, .

+2

Source: https://habr.com/ru/post/1615275/


All Articles