未找到 Tensorflow _lstm_ops.dll

Tensorflow _lstm_ops.dll not found

我正在尝试使用 Tensorflow 和 Python 3.6 构建我从 Github 下载的 LSTM 模型。该模型的 link 是 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 代码!!
有什么建议吗?

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