Skip to content

Commit 2a055f5

Browse files
committed
releasing 0.10.3
1 parent d992875 commit 2a055f5

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

CHANGELOG.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
**Note: we move fast, but still we preserve 0.1 version (one feature release) back compatibility.**
88

9-
## [unReleased] - 2022-MM-DD
9+
## [0.10.3] - 2022-11-16
1010

1111
### Fixed
1212

1313
- Fixed bug in `Metrictracker.best_metric` when `return_step=False` ([#1306](https://github.com/Lightning-AI/metrics/pull/1306))
14-
15-
1614
- Fixed bug to prevent users from going into a infinite loop if trying to iterate of a single metric ([#1320](https://github.com/Lightning-AI/metrics/pull/1320))
17-
18-
1915
- Fixed bug in `Metrictracker.best_metric` when `return_step=False` ([#1306](https://github.com/Lightning-AI/metrics/pull/1306))
2016

2117

src/torchmetrics/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "0.10.2"
1+
__version__ = "0.10.3"
22
__author__ = "Lightning-AI et al."
33
__author_email__ = "name@pytorchlightning.ai"
44
__license__ = "Apache-2.0"

src/torchmetrics/metric.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ def __getitem__(self, idx: int) -> "Metric":
851851
def __getnewargs__(self) -> Tuple:
852852
return (Metric.__str__(self),)
853853

854-
def __iter__(self):
854+
def __iter__(self) -> Any:
855855
raise NotImplementedError("Metrics does not support iteration.")
856856

857857

0 commit comments

Comments
 (0)