Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't run this project sucessfully,could you help me? #12

Open
liusheng134 opened this issue Oct 8, 2019 · 1 comment
Open

I can't run this project sucessfully,could you help me? #12

liusheng134 opened this issue Oct 8, 2019 · 1 comment

Comments

@liusheng134
Copy link

File ".\train.py", line 256, in
train()
File ".\train.py", line 241, in train
loss.backward()
File "E:\anaconda\envs\tensorflow\lib\site-packages\torch\tensor.py", line 118, in backward
torch.autograd.backward(self, gradient, retain_graph, create_graph)
File "E:\anaconda\envs\tensorflow\lib\site-packages\torch\autograd_init_.py", line 93, in backward
allow_unreachable=True) # allow_unreachable flag
RuntimeError: element 0 of tensors does not require grad and does not have a grad_fn

@ReverseSystem001
Copy link

do you resolve this problem now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants