lina
lina

Reputation: 293

gen_word2vec in tensorflow is not found

As I ran the code (https://github.com/tensorflow/models/blob/master/tutorials/embedding/word2vec.py) in my laptop(Mac,python3), I received an error:

    AttributeError: module 'tensorflow.models.embedding.gen_word2vec' has no attribute 'skipgram_word2vec'

tensorflow has been installed and working in my laptop. It seems like "gen_word2vec" is missing. Could someone help me?

Upvotes: 1

Views: 183

Answers (1)

chris
chris

Reputation: 1894

Try installing the latest version of TensorFlow.

Upvotes: 1

Related Questions