致以亲爱的社区,
我尝试使用python keras包,我收到此错误: 我在oracle-linux虚拟机上运行它。这是可以做的事情 它期待某种GPU盒?
请求帮助。
In [59]: from keras.models import Sequential#issue
...:
Traceback (most recent call last):
File "<ipython-input-59-0f55ca179bba>", line 1, in <module>
from keras.models import Sequential#issue
File "/home/oracle/anaconda/lib/python2.7/site-packages/keras/models.py", line 15, in <module>
from .utils.layer_utils import container_from_config
File "/home/oracle/anaconda/lib/python2.7/site-packages/keras/utils/layer_utils.py", line 10, in <module>
from ..layers.convolutional import Convolution1D, Convolution2D, MaxPooling1D, MaxPooling2D, ZeroPadding2D
File "/home/oracle/anaconda/lib/python2.7/site-packages/keras/layers/convolutional.py", line 6, in <module>
from theano.sandbox.cuda import dnn
File "/home/oracle/anaconda/lib/python2.7/site-packages/theano/sandbox/cuda/dnn.py", line 9, in <module>
from theano.gof import Optimizer, local_optimizer, COp
ImportError: cannot import name COp
来自dnn.py的行
from theano.gof import Optimizer, local_optimizer, COp