[英]Python stops working while importing Theano
I'm trying to use Theano and when I import it, i get a pop up saying python.exe has stopped working. 我正在尝试使用Theano,当我导入它时,我弹出一个对话框,说python.exe已停止工作。 What's the problem?This is my .theanorc file
这是什么问题?这是我的.theanorc文件
[global]
floatX = float32
device = cuda0
mode=FAST_RUN
[cuda]
root = C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin
[nvcc]
fastmath = True
[dnn]
include_path = C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include
library_path = C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\lib\x64
put your code in try except then check the exception please. 尝试输入您的代码,但请检查异常。
try: 尝试:
.... ....
except Exception as ex: 除了例外,例如:
print("Error: "+str(ex)) print(“错误:” + str(ex))
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.