Created
March 19, 2012 21:04
-
-
Save benanne/2127099 to your computer and use it in GitHub Desktop.
theano reshape cuda error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Error freeing device pointer 0x200605000 (unspecified launch failure). | |
| !!!! error freeing device memory 0x200605000 (self=0x132d9630) | |
| Error freeing device pointer 0x20030a000 (unspecified launch failure). | |
| !!!! error freeing dev_structure memory 0x20030a000 (self=0x132d9630) | |
| --------------------------------------------------------------------------- | |
| RuntimeError Traceback (most recent call last) | |
| /usr/lib/python2.7/site-packages/IPython/utils/py3compat.py in execfile(fname, *where) | |
| 173 else: | |
| 174 filename = fname | |
| --> 175 __builtin__.execfile(filename, *where) | |
| /home/sander/roel/convolutional_network_autoencoder.py in <module>() | |
| 479 | |
| 480 if __name__ == '__main__': | |
| --> 481 evaluate_lenet5() | |
| 482 | |
| 483 def experiment(state, channel): | |
| /home/sander/roel/convolutional_network_autoencoder.py in evaluate_lenet5(learning_rate, n_epochs, dataset, nkerns, batch_size) | |
| 387 for batch in xrange(n_train_batches): | |
| 388 previous_time = time.clock() | |
| --> 389 cost = layer0_pretrain(batch) | |
| 390 c.append(cost) | |
| 391 current_time = time.clock() | |
| /home/sander/python_modules/theano/compile/function_module.pyc in __call__(self, *args, **kwargs) | |
| 641 t0_fn = time.time() | |
| 642 try: | |
| --> 643 outputs = self.fn() | |
| 644 except Exception: | |
| 645 if hasattr(self.fn, 'position_of_error'): | |
| /home/sander/python_modules/theano/gof/link.pyc in streamline_default_f() | |
| 342 old_s[0] = None | |
| 343 except Exception: | |
| --> 344 raise_with_op(node) | |
| 345 f = streamline_default_f | |
| 346 elif nice_errors: | |
| /home/sander/python_modules/theano/gof/link.pyc in streamline_default_f() | |
| 338 try: | |
| 339 for thunk, node, old_storage in zip(thunks, order, post_thunk_old_storage): | |
| --> 340 thunk() | |
| 341 for old_s in old_storage: | |
| 342 old_s[0] = None | |
| /home/sander/python_modules/theano/gof/op.pyc in rval(p, i, o, n) | |
| 596 | |
| 597 def rval(p=p, i=node_input_storage, o=node_output_storage, n=node): | |
| --> 598 r = p(n, [x[0] for x in i], o) | |
| 599 for o in node.outputs: | |
| 600 compute_map[o][0] = True | |
| /home/sander/python_modules/theano/sandbox/cuda/basic_ops.pyc in perform(self, node, inp, out_) | |
| 1735 raise ValueError('shape argument to Reshape.perform has incorrect length %i' | |
| 1736 ', should be %i' % (len(shp), self.ndim), shp) | |
| -> 1737 out[0] = x.reshape(tuple(shp)) | |
| 1738 | |
| 1739 class GpuSubtensor(tensor.Subtensor, GpuOp): | |
| RuntimeError: Cuda error in CudaNdarray_Reshape()n_blocks=6, n_threads=256, input_shape=(2, 3, 2, 11, 11), dest_shape=(6, 2, 11, 11)): k_copy_reshape_rowmajor: unspecified launch failure. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment