I installed the updated Theano version with*  "*fix a change to gpuarray 
conv from gh-5069. dnn conv wasn't working a… #5108" in  theano/gpuarray/opt.py 

It doesn't work
*.*This is the output

*:*Python 2.7.12 |Continuum Analytics, Inc.| (default, Jul  2 2016, 
17:42:40) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org
>>> 
runfile('/home/luca/data/DeepLearningTutorials/Theano-3D-Convnet-master/convnet3d/core/run_multi_conv_t.py',
 
wdir='/home/luca/data/DeepLearningTutorials/Theano-3D-Convnet-master/convnet3d/core')
Mapped name None to device cuda: Tesla K40c
Using cuDNN version 5103 on context None
Disabling C code for Elemwise{mul,no_inplace} due to unsupported float16
Disabling C code for Elemwise{Cast{float32}} due to unsupported float16
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File 
"/home/luca/anaconda2/lib/python2.7/site-packages/spyder/utils/site/sitecustomize.py",
 
line 866, in runfile
    execfile(filename, namespace)
  File 
"/home/luca/anaconda2/lib/python2.7/site-packages/spyder/utils/site/sitecustomize.py",
 
line 94, in execfile
    builtins.execfile(filename, *where)
  File 
"/home/luca/data/DeepLearningTutorials/Theano-3D-Convnet-master/convnet3d/core/run_multi_conv_t.py",
 
line 32, in <module>
    run_experiments()
  File 
"/home/luca/data/DeepLearningTutorials/Theano-3D-Convnet-master/convnet3d/core/run_multi_conv_t.py",
 
line 25, in run_experiments
    Learning_rate=0.001 
  File "mpr_convnet_class_t.py", line 218, in __init__
    train_model = theano.function([x,y],cost, updates=updates)  
  File "/home/luca/data/Theano-master/theano/compile/function.py", line 
326, in function
    output_keys=output_keys)
  File "/home/luca/data/Theano-master/theano/compile/pfunc.py", line 486, 
in pfunc
    output_keys=output_keys)
  File "/home/luca/data/Theano-master/theano/compile/function_module.py", 
line 1777, in orig_function
    defaults)
  File "/home/luca/data/Theano-master/theano/compile/function_module.py", 
line 1644, in create
    input_storage=input_storage_lists, storage_map=storage_map)
  File "/home/luca/data/Theano-master/theano/gof/link.py", line 699, in 
make_thunk
    storage_map=storage_map)[:3]
  File "/home/luca/data/Theano-master/theano/gof/vm.py", line 1053, in 
make_all
    impl=impl))
  File "/home/luca/data/Theano-master/theano/gof/op.py", line 924, in 
make_thunk
    no_recycling)
  File "/home/luca/data/Theano-master/theano/gof/op.py", line 824, in 
make_c_thunk
    no_recycling=e_no_recycling)
  File "/home/luca/data/Theano-master/theano/gof/cc.py", line 563, in accept
    self.fetch_variables()
  File "/home/luca/data/Theano-master/theano/gof/cc.py", line 589, in 
fetch_variables
    params = node.run_params()
  File "/home/luca/data/Theano-master/theano/gof/graph.py", line 129, in 
run_params
    return self.op.get_params(self)
  File "/home/luca/data/Theano-master/theano/gpuarray/dnn.py", line 215, in 
get_params
    ptr = get_prop(self.dnn_context(node), 'cudnn_handle').value
  File "/home/luca/data/Theano-master/theano/gpuarray/type.py", line 114, 
in get_prop
    return _get_props(name)[k]
*KeyError*: ('The following error happened while compiling the node', 
GpuDnnConv{algo='none', inplace=True}(GpuContiguous.0, GpuContiguous.0, 
GpuAllocEmpty{dtype='float16', context_name=None}.0, 
GpuDnnConvDesc{border_mode='valid', subsample=(1, 1, 1), conv_mode='conv', 
precision='float32'}.0, Constant{1.0}, Constant{0.0}), '\n', 'cudnn_handle')

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to