【问题标题】:gen_word2vec in tensorflow is not found未找到张量流中的 gen_word2vec
【发布时间】:2016-12-22 22:39:48
【问题描述】:

当我在我的笔记本电脑(Mac,python3)上运行代码(https://github.com/tensorflow/models/blob/master/tutorials/embedding/word2vec.py)时,我收到了一个错误:

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

tensorflow 已在我的笔记本电脑上安装并运行。似乎缺少“gen_word2vec”。有人可以帮助我吗?

【问题讨论】:

    标签: machine-learning tensorflow word2vec


    【解决方案1】:

    尝试安装最新版本的 TensorFlow。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-11-05
      • 1970-01-01
      • 2020-08-15
      • 1970-01-01
      相关资源
      最近更新 更多