CMD + K

torchmetrics

Anaconda Verified

Collection of PyTorch native metrics for easy evaluating machine learning models

Installation

To install this package, run one of the following:

Conda
$conda install main::torchmetrics

Usage Tracking

1.8.2
1.4.0.post0
1.2.1
1.1.2
0.11.4
5 / 8 versions selected
Downloads (Last 6 months): 0

Description

Torchmetrics is a metrics API created for easy metric development and usage in both PyTorch and PyTorch Lightning. It was originally a part of Pytorch Lightning, but got split off so users could take advantage of the large collection of metrics implemented without having to install Pytorch Lightning (even though we would love for you to try it out). We currently have around 25+ metrics implemented and we continuously is adding more metrics, both within already covered domains (classification, regression ect.) but also new domains (object detection ect.). We make sure that all our metrics are rigorously tested such that you can trust them.

About

Summary

Collection of PyTorch native metrics for easy evaluating machine learning models

Last Updated

Nov 6, 2025 at 12:29

License

Apache-2.0

Total Downloads

2.8K

Supported Platforms

linux-aarch64
macOS-arm64
linux-64
win-64

Unsupported Platforms

linux-ppc64le Last supported version: 0.11.4
linux-s390x Last supported version: 1.4.0.post0
macOS-64 Last supported version: 1.4.0.post0