torchmetrics icon indicating copy to clipboard operation
torchmetrics copied to clipboard

Torchmetrics - Machine learning metrics for distributed, scalable PyTorch applications.

Results 208 torchmetrics issues
Sort by recently updated
recently updated
newest added

## What does this PR do? Continues work on classification refactor https://github.com/Lightning-AI/metrics/issues/1001 Prior work: * https://github.com/Lightning-AI/metrics/pull/1159 * https://github.com/Lightning-AI/metrics/pull/1151 * https://github.com/Lightning-AI/metrics/pull/1145 * https://github.com/Lightning-AI/metrics/pull/1143 * https://github.com/Lightning-AI/metrics/pull/1054 This PR takes care of `precision_recall_curve`,...

enhancement
Priority
refactoring

https://github.com/Lightning-AI/metrics/blob/ff61c482e5157b43e647565fa0020a4ead6e9d61/torchmetrics/functional/image/ssim.py#L191-L194 To get the full SSIM image to be returned I have to change to `reduction=None` Example: imports and dummy images ```py import torch from torchmetrics import StructuralSimilarityIndexMeasure as SSIM...

question

## What does this PR do? Continues work on classification refactor https://github.com/Lightning-AI/metrics/issues/1001 Prior work: * https://github.com/Lightning-AI/metrics/pull/1167 * https://github.com/Lightning-AI/metrics/pull/1163 * https://github.com/Lightning-AI/metrics/pull/1159 * https://github.com/Lightning-AI/metrics/pull/1151 * https://github.com/Lightning-AI/metrics/pull/1145 * https://github.com/Lightning-AI/metrics/pull/1143 * https://github.com/Lightning-AI/metrics/pull/1054 This PR...

enhancement
refactoring

## What does this PR do? Removes docstring mistake. Average `micro` is not available for auroc. ## PR review Anyone in the community is free to review the PR once...

documentation

Why constraint the pearson correlation to a single dimension? With a 2D tensor, the pearson correlation can be computed simultaneously for every column. Simply need to replace the `.sum()` and...

enhancement

## 🚀 Feature There doesn't seem to be an easy way to calculate the AUPR using torchmetrics. If anybody has the recommended way, please comment below. ### Motivation The area...

enhancement
New metric

## 🐛 Bug Wrong calculation of mean Average Precision (mAP). I get ```py {'map': tensor(1.), 'map_50': tensor(1.), 'map_75': tensor(-1), 'map_small': tensor(1.), 'map_medium': tensor(-1.), 'map_large': tensor(-1.), 'mar_1': tensor(1.), 'mar_10': tensor(1.), 'mar_100':...

bug / fix
help wanted

## 🐛 Bug `dist_sync_fn` is a documented kwarg of class Metric and suggests to pass an alternative to `torch.distributed.all_gather`. I suppose, the intend is to allow use of distributed contexts...

bug / fix
help wanted

## 🚀 Feature Normalized Discounted Cumulative Gain (nDCG) score for classification. ### Motivation We are using torchmetrics nDCG score in multi-label classification. ([Reference](https://github.com/ASUS-AICS/LibMultiLabel/blob/master/libmultilabel/nn/metrics.py)) ```python3 from torchmetrics import RetrievalNormalizedDCG ``` At...

enhancement
New metric
wontfix

## What does this PR do? Fixes #1110 Following on this PR, I'd also suggest a refactor of `BERTScore` itself as its implementation is a bit obscure. ## Before submitting...

test / CI
refactoring