小编Yiq*_*Liu的帖子

Theano导入错误:没有名为cPickle的模块

>>> import theano
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Python/2.7/site-packages/theano/__init__.py", line 52, in <module>
from theano.gof import (
 File "/Library/Python/2.7/site-packages/theano/gof/__init__.py", line 38, in <module>
from theano.gof.cc import \
File "/Library/Python/2.7/site-packages/theano/gof/cc.py", line 30, in <module>
from theano.gof import link
File "/Library/Python/2.7/site-packages/theano/gof/link.py", line 18, in <module>
from theano.gof.type import Type
File "/Library/Python/2.7/site-packages/theano/gof/type.py", line 17, in <module>
from theano.gof.op import CLinkerObject
File "/Library/Python/2.7/site-packages/theano/gof/op.py", line 25, in <module>
from theano.gof.cmodule import GCC_compiler
File "/Library/Python/2.7/site-packages/theano/gof/cmodule.py", line 8, in <module> …
Run Code Online (Sandbox Code Playgroud)

python neural-network python-2.7 theano conv-neural-network

9
推荐指数
1
解决办法
1万
查看次数

CUDA:安装后无法检测到nvcc

我在ubuntu(ami实例)上成功安装了CUDA 7.0,但是当我键入'nvcc -version'时,它告诉我

The program 'nvcc' is currently not installed. You can install it by typing:
apt-get install nvidia-cuda-toolkit
You will have to enable the component called 'multiverse'
Run Code Online (Sandbox Code Playgroud)

这很奇怪,因为在/ usr/local中安装成功了,我已经在我的路径中添加了CUDA 7.0.我也尝试重新启动我的实例然后键入相同的命令,它不起作用.我也确定我的GPU的驱动程序是正确的.(当我使用theano运行nvcc测试时会发生同样的错误)

cuda gpu build nvcc ubuntu-14.04

4
推荐指数
1
解决办法
1万
查看次数