Traceback (most recent call last):

 ".../.vim/bundle/jedi-vim/jedi_vim.py", line 20, in wrapper
return func(*args, **kwargs)

 ".../.vim/bundle/jedi-vim/jedi_vim.py", line 438, in _tabnew
buf_path = vim.buffers[buf_nr].nameValueError: number must be greater then zero
Traceback (most recent call last):


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

train()


 "train.py", line 451, in train

loss.backward()


 "/data1/baiye/miniconda3/envs/torch04py3/lib/python3.6/site-packages/torch/tensor.py", line 93, in backward

torch.autograd.backward(self, gradient, retain_graph, create_graph)


 "/data1/baiye/miniconda3/envs/torch04py3/lib/python3.6/site-packages/torch/autograd/__init__.py", line 89, in backward

allow_unreachable=True)
# allow_unreachable flag
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation
