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 #17

Merged
merged 2 commits into from
Oct 27, 2021
Merged

Leaf Variable inplace bug fix #17

merged 2 commits into from
Oct 27, 2021

Conversation

naruarjun
Copy link
Contributor

@naruarjun naruarjun commented Sep 3, 2021

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 .

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

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

@Riser6 Riser6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix bugs

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

Successfully merging this pull request may close these issues.

None yet

2 participants