Traceback (most recent call last):


 "eth_mnist.py", line 128, in <module>

sample = next(data_loader)


 "/home/elliot/anaconda3/envs/pytorch_1.0/lib/python3.6/site-packages/bindsnet/encoding/__init__.py", line 108, in poisson_loader

yield poisson(data[i], time)
# Encode datum as Poisson spike trains.


 "/home/elliot/anaconda3/envs/pytorch_1.0/lib/python3.6/site-packages/bindsnet/encoding/__init__.py", line 75, in poisson

datum = np.copy(datum)


 "/home/elliot/anaconda3/envs/pytorch_1.0/lib/python3.6/site-packages/numpy/lib/function_base.py", line 792, in copy

return array(a, order=order, copy=True)


 "/home/elliot/anaconda3/envs/pytorch_1.0/lib/python3.6/site-packages/torch/tensor.py", line 450, in __array__

return self.numpy()
TypeError: can't convert CUDA tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first.

Traceback (most recent call last):


 "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner

self.run()


 "/usr/lib64/python3.6/threading.py", line 864, in run

self._target(*self._args, **self._kwargs)


 "/opt/coco/coco/sshd.py", line 96, in handle_chan

self.dispatch(client)


 "/opt/coco/coco/sshd.py", line 102, in dispatch

InteractiveServer(self.app, client).interact()


 "/opt/coco/coco/interactive.py", line 296, in interact

rv = self.dispatch(opt)


 "/opt/coco/coco/interactive.py", line 138, in dispatch

self.search_and_proxy(opt)


 "/opt/coco/coco/interactive.py", line 275, in search_and_proxy

if len(self.search_result) == 1:
TypeError: object of type 'NoneType' has no len()
