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

Leaf Variable inplace bug fix #1

Merged
merged 1 commit into from
Sep 3, 2021
Merged

Conversation

naruarjun
Copy link
Owner

Fixes
RuntimeError: a view of a leaf Variable that requires grad is being used in an in-place operation.

This error was observed while running on docker image nvcr.io/nvidia/pytorch 21.06-py3

fixes ```RuntimeError: a view of a leaf Variable that requires grad is being used in an in-place operation.``` when running on Docker.
@naruarjun
Copy link
Owner Author

The fix was found here - ultralytics/yolov5#1552 (comment)

@naruarjun naruarjun merged commit 775d27f into main Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant