小编Tim*_*Tim的帖子

Theano CUDA例外

我对theano比较新,我想在我的GPU上运行mnist示例,但我得到以下输出:

Using gpu device 0: GeForce GTX 970M (CNMeM is disabled)
Loading data...
Building model and compiling functions...
WARNING (theano.gof.compilelock):
    Overriding existing lock by dead process '9700' (I am process '10632')

DEBUG: nvcc STDOUT mod.cu
Creating library 
  C:/Users/user/AppData/Local/Theano
    /compiledir_Windows-8-6.2.9200-Intel64_Family_6_Model_71_Stepping_1_GenuineIntel-3.4.3-64
    /tmp55nlvvvo/m25b839e7715203be227800f03e7c8fe8.lib 
and object 
  C:/Users/user/AppData/Local/Theano
    /compiledir_Windows-8-6.2.9200-Intel64_Family_6_Model_71_Stepping_1_GenuineIntel-3.4.3-64
    /tmp55nlvvvo/m25b839e7715203be227800f03e7c8fe8.exp
Run Code Online (Sandbox Code Playgroud)

它不断输出DEBUG消息而不输出任何mnist.我有一个工作版的nvcc:

C:\Users\user>nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2015 NVIDIA Corporation
Built on Tue_Aug_11_14:49:10_CDT_2015
Cuda compilation tools, release 7.5, V7.5.17
Run Code Online (Sandbox Code Playgroud)

我的.theanorc档案:

[global]
floatX = float32
device = gpu0

[nvcc]
fastmath …
Run Code Online (Sandbox Code Playgroud)

python mnist theano

8
推荐指数
1
解决办法
1590
查看次数

标签 统计

mnist ×1

python ×1

theano ×1