From a8e8337e1a830a9f887d768d7992b7e28be4ada5 Mon Sep 17 00:00:00 2001 From: Jirka B Date: Fri, 18 Oct 2024 16:32:59 +0200 Subject: [PATCH] releasing `1.5.0` --- .github/workflows/docs-build.yml | 2 +- CHANGELOG.md | 37 ++++++-------------------------- docs/source/conf.py | 3 +++ src/torchmetrics/__about__.py | 2 +- 4 files changed, 12 insertions(+), 32 deletions(-) diff --git a/.github/workflows/docs-build.yml b/.github/workflows/docs-build.yml index 16eb7e72e4a..be5e39fc09a 100644 --- a/.github/workflows/docs-build.yml +++ b/.github/workflows/docs-build.yml @@ -77,7 +77,7 @@ jobs: retention-days: ${{ steps.keep-artifact.outputs.DAYS }} - name: update cashing - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.target == 'html' }} continue-on-error: true uses: ./.github/actions/push-caches with: diff --git a/CHANGELOG.md b/CHANGELOG.md index 3569aead873..c9ffa8b9ddd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,56 +8,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 --- -## [UnReleased] - 2024-MM-DD +## [1.5.0] - 2024-10-18 ### Added -- Added a new audio metric `DNSMOS` ([#2525](https://github.com/PyTorchLightning/metrics/pull/2525)) - - +- Added segmentation metric `HausdorffDistance` ([#2122](https://github.com/Lightning-AI/torchmetrics/pull/2122)) +- Added audio metric `DNSMOS` ([#2525](https://github.com/PyTorchLightning/metrics/pull/2525)) +- Added shape metric `ProcrustesDistance` ([#2723](https://github.com/Lightning-AI/torchmetrics/pull/2723) - Added `MetricInputTransformer` wrapper ([#2392](https://github.com/Lightning-AI/torchmetrics/pull/2392)) - - - Added `input_format` argument to segmentation metrics ([#2572](https://github.com/Lightning-AI/torchmetrics/pull/2572)) - - -- Added multi-output support for MAE metric ([#2605](https://github.com/Lightning-AI/torchmetrics/pull/2605)) - - -- Added new metric `ProcrustesDistance` to new domain Shape ([#2723](https://github.com/Lightning-AI/torchmetrics/pull/2723) - - +- Added `multi-output` support for MAE metric ([#2605](https://github.com/Lightning-AI/torchmetrics/pull/2605)) - Added `truncation` argument to `BERTScore` ([#2776](https://github.com/Lightning-AI/torchmetrics/pull/2776)) - -- Added `HausdorffDistance` to segmentation package ([#2122](https://github.com/Lightning-AI/torchmetrics/pull/2122)) - - ### Changed - Tracker higher is better integration ([#2649](https://github.com/Lightning-AI/torchmetrics/pull/2649)) - - - Updated `InfoLM` class to dynamically set `higher_is_better` ([#2674](https://github.com/Lightning-AI/torchmetrics/pull/2674)) - ### Deprecated - Deprecated `num_outputs` in `R2Score` ([#2705](https://github.com/Lightning-AI/torchmetrics/pull/2705)) - -### Removed - -- - - ### Fixed -- Fixed corner case in `Iou` metric for single empty prediction tensors ([#2780](https://github.com/Lightning-AI/torchmetrics/pull/2780)) - - +- Fixed corner case in `IoU` metric for single empty prediction tensors ([#2780](https://github.com/Lightning-AI/torchmetrics/pull/2780)) - Fixed `PSNR` calculation for integer type input images ([#2788](https://github.com/Lightning-AI/torchmetrics/pull/2788)) +--- ## [1.4.3] - 2024-10-10 diff --git a/docs/source/conf.py b/docs/source/conf.py index fcdfae97cc9..5442f9641a9 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -447,4 +447,7 @@ def linkcode_resolve(domain, info) -> Optional[str]: # noqa: ANN001 "https://aclanthology.org/W17-4770", # A wavelet transform method to merge Landsat TM and SPOT panchromatic data "https://www.ingentaconnect.com/content/tandf/tres/1998/00000019/00000004/art00013", + # todo: these links seems to be unstable, referring to .devcontainer + "https://code.visualstudio.com", + "https://code.visualstudio.com/.*", ] diff --git a/src/torchmetrics/__about__.py b/src/torchmetrics/__about__.py index dfc5a7505e2..94367ef380b 100644 --- a/src/torchmetrics/__about__.py +++ b/src/torchmetrics/__about__.py @@ -1,4 +1,4 @@ -__version__ = "1.5.0dev" +__version__ = "1.5.0" __author__ = "Lightning-AI et al." __author_email__ = "name@pytorchlightning.ai" __license__ = "Apache-2.0"