【问题标题】:Tensorflow _lstm_ops.dll not found未找到 Tensorflow _lstm_ops.dll
【发布时间】:2017-12-05 20:42:31
【问题描述】:

我正在尝试使用 Tensorflow 和 Python 3.6 构建从 Github 下载的 LSTM 模型。该模型的链接是https://github.com/adeshpande3/LSTM-Sentiment-Analysis
当执行以下命令时
lstmCell = tf.contrib.rnn.BasicLSTMCell(lstmUnits)
我收到错误
NotFoundError: D:\Anaconda3\lib\site-packages\tensorflow\contrib\rnn\python\ops_lstm_ops.dll 未找到
您可能已经注意到,路径没有非 ASCII 码!!
有什么建议吗?

【问题讨论】:

    标签: python python-3.x tensorflow lstm rnn


    【解决方案1】:

    根据项目的Github page,代码在 TensorFlow 1.1 上运行,不适用于 TensorFlow 1.2 或更高版本。如果您使用的是当前版本的 TensorFlow,那就是您的问题。

    【讨论】:

    • TensorFlow 1.1 版(目前不支持 1.2 但正在开发中)欺骗了我。
    猜你喜欢
    • 1970-01-01
    • 2018-12-04
    • 2019-05-25
    • 1970-01-01
    • 1970-01-01
    • 2019-09-24
    • 2016-12-06
    • 2020-04-03
    • 2017-11-05
    相关资源
    最近更新 更多