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

实验损失 #41

Open
computerManAlan opened this issue Jun 9, 2022 · 1 comment
Open

实验损失 #41

computerManAlan opened this issue Jun 9, 2022 · 1 comment

Comments

@computerManAlan
Copy link

想问问大佬,最后的损失值大概为多少呢

@computerManAlan
Copy link
Author

RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [5, 768, 13, 13]], which is output 0 of CatBackward, is at version 1; expected version 0 instead. Hint: enable anomaly detection to find the operation that failed to compute its gradient, with torch.autograd.set_detect_anomaly(True).训练后10个epoch会出现这个错误怎么解决呢

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

1 participant