Traceback (most recent call last):


 "[..].venv/lib/python3.6/site-packages/neo4j/v1/api.py", line 151, in __del__


 "[..].venv/lib/python3.6/site-packages/neo4j/v1/api.py", line 193, in close


 "[..].venv/lib/python3.6/site-packages/neo4j/bolt/connection.py", line 439, in close


 "[..].venv/lib/python3.6/site-packages/neo4j/bolt/connection.py", line 428, in remove


 "[..].venv/lib/python3.6/site-packages/neo4j/bolt/connection.py", line 346, in close


 "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/logging/__init__.py", line 1305, in info


 "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/logging/__init__.py", line 1546, in isEnabledFor
TypeError: '>=' not supported between instances of 'int' and 'NoneType'

Traceback (most recent call last):


 "train.py", line 42, in <module>

model(x)


 "/home/michael/.virtualenvs/fyp-pytorch/local/lib/python2.7/site-packages/torch/nn/modules/module.py", line 224, in __call__

result = self.forward(*input, **kwargs)


 "train.py", line 22, in forward

out, hidden = self.rnn(x)


 "/home/michael/.virtualenvs/fyp-pytorch/local/lib/python2.7/site-packages/torch/nn/modules/module.py", line 224, in __call__

result = self.forward(*input, **kwargs)


 "/home/michael/.virtualenvs/fyp-pytorch/local/lib/python2.7/site-packages/torchqrnn/qrnn.py", line 160, in forward

input, hn = layer(input, None if hidden is None else hidden[i])


 "/home/michael/.virtualenvs/fyp-pytorch/local/lib/python2.7/site-packages/torch/nn/modules/module.py", line 224, in __call__

result = self.forward(*input, **kwargs)


 "/home/michael/.virtualenvs/fyp-pytorch/local/lib/python2.7/site-packages/torchqrnn/qrnn.py", line 95, in forward

C = ForgetMult()(F, Z, hidden, use_cuda=self.use_cuda)


 "/home/michael/.virtualenvs/fyp-pytorch/local/lib/python2.7/site-packages/torch/nn/modules/module.py", line 224, in __call__

result = self.forward(*input, **kwargs)


 "/home/michael/.virtualenvs/fyp-pytorch/local/lib/python2.7/site-packages/torchqrnn/forget_mult.py", line 175, in forward

if hidden_init is None: return GPUForgetMult()(f, x) if use_cuda else CPUForgetMult()(f, x)


 "/home/michael/.virtualenvs/fyp-pytorch/local/lib/python2.7/site-packages/torchqrnn/forget_mult.py", line 127, in forward

self.forget_mult(grid=grid, block=(grid_hidden_size, 1), args=[result.data_ptr(), f.data_ptr(), x.data_ptr(), seq_size, batch_size, hidden_size], stream=self.stream)


 "cupy/cuda/function.pyx", line 143, in cupy.cuda.function.Function.__call__
TypeError: 'float' object cannot be interpreted as an index
