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

Fix the train.py RuntimeError:a view of a leaf Variable that requires grad is being used in an in-place operation when running... issue #18

Closed
PigLogic-Cyber opened this issue Sep 4, 2021 · 2 comments

Comments

@PigLogic-Cyber
Copy link

If you meet the same issue as I am, you can try as follow to fix it:

image

Works for me, good luck :-)

@naruarjun
Copy link
Contributor

#17, I believe this is a better fix, and this was the final fix that was merged on YOLOv5

@PigLogic-Cyber
Copy link
Author

Thx for your advice, and thx for your great job, I'll check out for myself. Sorry for posing a weird issue here, since I do not know much manner here in Github (。・ω・)~

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