Linux Theano error:NameError:global name';CVM&x27;没有定义

Linux Theano error:NameError:global name';CVM&x27;没有定义,linux,machine-learning,theano,keras,Linux,Machine Learning,Theano,Keras,我所要做的就是用keras训练我的ANN,我从theano告诉我“CVM”没有定义中得到了一个非常严重的错误。我已经跟踪到了model.fit(输入,输出)函数我的keras模型的错误 我看到有人把我引向rm-rf~/.theano,但这不起作用 我已经重新安装了theano和Kerno,但错误依然存在 我测试了训练一个简单的keras网络作为控制(以消除我的代码导致错误的假设),但这里也存在错误 from keras.models import Sequential from keras.la

我所要做的就是用keras训练我的ANN,我从theano告诉我“CVM”没有定义中得到了一个非常严重的错误。我已经跟踪到了
model.fit(输入,输出)
函数我的keras模型的错误

我看到有人把我引向
rm-rf~/.theano
,但这不起作用

我已经重新安装了theano和Kerno,但错误依然存在

我测试了训练一个简单的keras网络作为控制(以消除我的代码导致错误的假设),但这里也存在错误

from keras.models import Sequential
from keras.layers import *
X = np.arange(10)
y = X*10
model = Sequential()
model.add(Dense(1, input_shape=(1,)))
model.compile('sgd', 'mean_squared_error')

# Everything is OK up until here
# when I run 
model.fit(X,y)
下面是错误的详细信息(来自上面的代码片段):

/.conda/envs/flytrackerML/lib/python2.7/site-packages/theano/gof/vm.pyc in make\u vm(self、nodes、thunk、input\u storage、output\u storage、storage\u map、post\u thunk\u clear、computed、compute\u map、updated\u vars)
911
912 c0=sys.getrefcount(节点输入)
-->913 vm=CVM(
914个节点,
915 thunks,
NameError:未定义全局名称“CVM”
表明32位和64位安装之间存在冲突。您检查了吗?
<home>/.conda/envs/flytrackerML/lib/python2.7/site-packages/theano/gof/vm.pyc in make_vm(self, nodes, thunks, input_storage, output_storage, storage_map, post_thunk_clear, computed, compute_map, updated_vars)
    911 
    912             c0 = sys.getrefcount(node_n_inputs)
--> 913             vm = CVM(
    914                 nodes,
    915                 thunks,

NameError: global name 'CVM' is not defined