Skip to content

Instantly share code, notes, and snippets.

@joao-timescale
Created July 20, 2017 21:15
Show Gist options
  • Save joao-timescale/cf4e59ffc8a8a8c130f128e0513aa44f to your computer and use it in GitHub Desktop.
Save joao-timescale/cf4e59ffc8a8a8c130f128e0513aa44f to your computer and use it in GitHub Desktop.
======================================================================
ERROR: theano.gpuarray.tests.test_dnn.test_dnn_spatialtf_grad
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jvtr/miniconda3/lib/python3.6/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/jvtr/repos/Theano/theano/gpuarray/tests/test_dnn.py", line 2527, in test_dnn_spatialtf_grad
utt.verify_grad(functor_wrt_i, [img])
File "/home/jvtr/repos/Theano/theano/tests/unittest_tools.py", line 91, in verify_grad
T.verify_grad(op, pt, n_tests, rng, *args, **kwargs)
File "/home/jvtr/repos/Theano/theano/gradient.py", line 1741, in verify_grad
disconnected_inputs='ignore')
File "/home/jvtr/repos/Theano/theano/gradient.py", line 595, in grad
grad_dict, wrt, cost_name)
File "/home/jvtr/repos/Theano/theano/gradient.py", line 1357, in _populate_grad_dict
rval = [access_grad_cache(elem) for elem in wrt]
File "/home/jvtr/repos/Theano/theano/gradient.py", line 1357, in <listcomp>
rval = [access_grad_cache(elem) for elem in wrt]
File "/home/jvtr/repos/Theano/theano/gradient.py", line 1312, in access_grad_cache
term = access_term_cache(node)[idx]
File "/home/jvtr/repos/Theano/theano/gradient.py", line 1007, in access_term_cache
output_grads = [access_grad_cache(var) for var in node.outputs]
File "/home/jvtr/repos/Theano/theano/gradient.py", line 1007, in <listcomp>
output_grads = [access_grad_cache(var) for var in node.outputs]
File "/home/jvtr/repos/Theano/theano/gradient.py", line 1312, in access_grad_cache
term = access_term_cache(node)[idx]
File "/home/jvtr/repos/Theano/theano/gradient.py", line 1007, in access_term_cache
output_grads = [access_grad_cache(var) for var in node.outputs]
File "/home/jvtr/repos/Theano/theano/gradient.py", line 1007, in <listcomp>
output_grads = [access_grad_cache(var) for var in node.outputs]
File "/home/jvtr/repos/Theano/theano/gradient.py", line 1312, in access_grad_cache
term = access_term_cache(node)[idx]
File "/home/jvtr/repos/Theano/theano/gradient.py", line 1148, in access_term_cache
new_output_grads)
File "/home/jvtr/repos/Theano/theano/gpuarray/dnn.py", line 2943, in L_op
dy = as_gpuarray_variable(dy, context_name=infer_context_name(img))
File "/home/jvtr/repos/Theano/theano/gpuarray/basic_ops.py", line 89, in as_gpuarray_variable
x = gpuarray.asarray(x, context=ctx)
File "pygpu/gpuarray.pyx", line 755, in pygpu.gpuarray.asarray (pygpu/gpuarray.c:10721)
File "pygpu/gpuarray.pyx", line 915, in pygpu.gpuarray.array (pygpu/gpuarray.c:12227)
File "pygpu/gpuarray.pyx", line 970, in pygpu.gpuarray.carray (pygpu/gpuarray.c:13099)
File "pygpu/gpuarray.pyx", line 190, in pygpu.gpuarray.dtype_to_typecode (pygpu/gpuarray.c:4728)
ValueError: don't know how to convert to dtype: object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment