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

Add GPU support for occlusion attributor. #135

Merged
merged 1 commit into from
May 23, 2022
Merged

Add GPU support for occlusion attributor. #135

merged 1 commit into from
May 23, 2022

Conversation

HeinrichAD
Copy link
Contributor

This changes will pay attention to the device while root_mask creation.


Fixes RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!

image

Pay attention to the device while `root_mask` creation.
Copy link
Owner

@chr5tphr chr5tphr left a comment

Choose a reason for hiding this comment

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

Thank you for the PR!

@chr5tphr chr5tphr merged commit d2d4a2a into chr5tphr:master May 23, 2022
@HeinrichAD HeinrichAD deleted the add_occlusion_gpu_support branch May 23, 2022 12:43
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.

2 participants