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

metrics.py: push metric to same device as prediction and label #358

Merged
merged 1 commit into from
Oct 11, 2022

Conversation

remtav
Copy link
Collaborator

@remtav remtav commented Oct 6, 2022

fixes #351 (at least for single GPU use, not tested on multi-gpu)

@remtav remtav merged commit 6a526ad into NRCan:develop Oct 11, 2022
@remtav remtav deleted the 351-metric-wrong-device branch October 11, 2022 13:04
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.

torchmetrics error with Multi GPU and Data Parrallel
3 participants