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

训练出现错误 #17

Open
lgcy opened this issue Apr 17, 2020 · 3 comments
Open

训练出现错误 #17

lgcy opened this issue Apr 17, 2020 · 3 comments

Comments

@lgcy
Copy link

lgcy commented Apr 17, 2020

我训练时出现了element 0 of tensors does not require grad and does not have a grad_fn, 请问一下这个该怎么解决,pytorch用的1.2

@hanson-young
Copy link
Owner

请问具体是哪里报的错,我用的是pytorch1.3

@lgcy
Copy link
Author

lgcy commented Apr 21, 2020

IMG_20200421_114914
这是我错误的地方

@lwihtittlee
Copy link

我也遇到了这个问题,请问你解决了吗

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

3 participants