CMD + K

torchmetrics

Community

Collection of PyTorch native metrics for easy evaluating machine learning models

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::torchmetrics

Usage Tracking

1.8.2
1.8.1
1.8.0
1.7.4
1.7.3
5 / 8 versions selected
Total downloads: 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

Information Last Updated

Sep 3, 2025 at 20:54

License

Apache-2.0

Total Downloads

2.2M

Platforms

noarch Version: 1.8.2