Skip to content

Commit

Permalink
releasing 0.10.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Nov 16, 2022
1 parent d992875 commit 2a055f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

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

## [unReleased] - 2022-MM-DD
## [0.10.3] - 2022-11-16

### Fixed

- Fixed bug in `Metrictracker.best_metric` when `return_step=False` ([#1306](https://github.com/Lightning-AI/metrics/pull/1306))


- 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))


- Fixed bug in `Metrictracker.best_metric` when `return_step=False` ([#1306](https://github.com/Lightning-AI/metrics/pull/1306))


Expand Down
2 changes: 1 addition & 1 deletion src/torchmetrics/__about__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.10.2"
__version__ = "0.10.3"
__author__ = "Lightning-AI et al."
__author_email__ = "name@pytorchlightning.ai"
__license__ = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/torchmetrics/metric.py
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ def __getitem__(self, idx: int) -> "Metric":
def __getnewargs__(self) -> Tuple:
return (Metric.__str__(self),)

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


Expand Down

0 comments on commit 2a055f5

Please sign in to comment.