【发布时间】:2017-03-15 13:31:03
【问题描述】:
我正在使用 Python 3.5,并使用 Anaconda 在 Windows 10 中安装了 TensorFlow。
我收到以下错误:
; TypeError:“模块”对象不可调用
File "D:/Thèse1/LSTM/code/code_python/LSTM-Human-Activity-Recognition-master/lstm.py", line 114, in LSTM_Network
outputs, _ = tf.contrib.rnn(lsmt_layers, feature_mat, dtype=tf.float32) TypeError: 'module' object is not callable
【问题讨论】:
-
请重新整理您的问题,使其更具可读性。您应该报告您想要获取的内容、尝试的内容以及遇到的错误。
-
tf.contrib.rnn是一个模块,错误消息有助于指出。
标签: python-3.x tensorflow