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 for AnchorGenerator when device switch happen #1745

Merged
merged 2 commits into from
Jan 13, 2020

Conversation

fmassa
Copy link
Member

@fmassa fmassa commented Jan 13, 2020

Fixes #1738

@fmassa fmassa changed the title Fix anchor device switch Fix for AnchorGenerator when device switch happen Jan 13, 2020
@fmassa fmassa merged commit 66f2922 into pytorch:master Jan 13, 2020
@fmassa fmassa deleted the fix-anchor-device-switch branch January 13, 2020 17:31
fmassa added a commit to fmassa/vision-1 that referenced this pull request Jun 9, 2020
* Fix AnchorGenerator if moving from one device to another

* Fixes for the test
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.

RuntimeError after moving fasterrcnn_resnet50_fpn to CPU from GPU
1 participant