Comments (4)
Hi! thanks for your contribution!, great first issue!
from torchmetrics.
Hi @karwojan, thanks for reporting this issue.
I cannot really comprehend what is going on here. My gut feeling is that this has nothing to do with torchmetrics and is more of a torch issue, but who knows. I tried it on my own machine and I could not really reproduce the issue.
Could you maybe report what happens if you run the code with the CUDA_LAUNCH_BLOCKING
env set as suggested in the error message?
from torchmetrics.
Hi @SkafteNicki, thanks for your answer.
Have you tried to run this script in docker using the following command?
docker run --rm -it --gpus=all -v `pwd`:/error pytorch/pytorch:1.13.1-cuda11.6-cudnn8-runtime /bin/bash -c "pip install torchmetrics==1.4.0 && python /error/error.py"
Without Docker, I am also not able to reproduce the issue.
When I run this script with the CUDA_LAUNCH_BLOCKING
env, result is exactly the same.
from torchmetrics.
Hi @karwojan,
I tried some more and was finally able to reproduce the issue.
I then ran git bisect
to narrow down when bug was introduced, with v1.3.2
set as a good commit and v1.4.0
set as a bad commit. In the end the bisecting resulted in this commit cd7ccfc from merging this PR #2468 being marked as the starting point of the bug.
I am still not sure what change in the PR actually is causing this, but I try to narrow it down.
from torchmetrics.
Related Issues (20)
- `log_dict` to support `ClasswiseWrapper` HOT 4
- `FrechetInceptionDistance` hangs when used with multiple devices in PytorchLightning HOT 3
- Make `ignore_index` work when all batch elements are to be ignored HOT 1
- procrustes alignment HOT 6
- Please don't make us specify the number of outputs for R2Score HOT 1
- The typing on the `compute` method of multi label metrics is wrong HOT 3
- LightningModule attribute as a list of torchmetrics Metric gives error with DDP HOT 1
- SSIM calculation mistake. HOT 4
- BERT score: maximum at self-comparison, symmetry, invariance to additional items HOT 2
- Maybe a new patch release? HOT 8
- Broken "source" link on torchmetrics.Metric HOT 2
- MeanIoU and GeneralizedDiceScore doesn't work properly with index tensors when `per_class=True` HOT 2
- UnboundLocalError: local variable 'b' referenced before assignment HOT 1
- Docs: fix for R^2 and SMAPE HOT 1
- Autograd with DDP HOT 2
- Mean Average Precision producing incorrect values, maybe? HOT 1
- Segmentation IOU compute Ignore some tagged values that don't need to be recorded (such as 255) HOT 1
- PESQ No utterances detected HOT 2
- Logging a class-wise metric with ClasswiseWrapper HOT 1
- BinaryAUROC hangs when calling metric.compute on multi-node multi-cards HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from torchmetrics.