From b02bc3ef4b5d62cd7ed55ca00f192f9296aca786 Mon Sep 17 00:00:00 2001 From: YunLiu <55491388+KumoLiu@users.noreply.github.com> Date: Mon, 14 Oct 2024 11:56:22 +0800 Subject: [PATCH 1/4] part of #8110 Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com> --- .github/workflows/weekly-preview.yml | 2 +- CITATION.cff | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/weekly-preview.yml b/.github/workflows/weekly-preview.yml index 8d8cccffad..f89e0a11c4 100644 --- a/.github/workflows/weekly-preview.yml +++ b/.github/workflows/weekly-preview.yml @@ -66,7 +66,7 @@ jobs: export YEAR_WEEK=$(date +'%y%U') echo "Year week for tag is ${YEAR_WEEK}" if ! [[ $YEAR_WEEK =~ ^[0-9]{4}$ ]] ; then echo "Wrong 'year week' format. Should be 4 digits."; exit 1 ; fi - git tag "1.4.dev${YEAR_WEEK}" + git tag "1.5.dev${YEAR_WEEK}" git log -1 git tag --list python setup.py sdist bdist_wheel diff --git a/CITATION.cff b/CITATION.cff index b535a77a9f..3cd3d0e0b1 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -6,8 +6,8 @@ title: "MONAI: Medical Open Network for AI" abstract: "AI Toolkit for Healthcare Imaging" authors: - name: "MONAI Consortium" -date-released: 2024-06-26 -version: "1.3.2" +date-released: 2024-10-14 +version: "1.4.0" identifiers: - description: "This DOI represents all versions of MONAI, and will always resolve to the latest one." type: doi From 6dfc86a27f4968368070cff8b03a54d92150a589 Mon Sep 17 00:00:00 2001 From: YunLiu <55491388+KumoLiu@users.noreply.github.com> Date: Mon, 14 Oct 2024 12:27:04 +0800 Subject: [PATCH 2/4] fix #8137 Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com> --- monai/transforms/regularization/array.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/monai/transforms/regularization/array.py b/monai/transforms/regularization/array.py index 4bf6cff649..4c4a6f62a2 100644 --- a/monai/transforms/regularization/array.py +++ b/monai/transforms/regularization/array.py @@ -111,6 +111,11 @@ class CutMix(Mixer): documentation for details on the constructor parameters. Here, alpha not only determines the mixing weight but also the size of the random rectangles used during for mixing. Please refer to the paper for details. + + Please note that there is a change in behavior starting from version 1.4.0. In the previous + implementation, the transform would generate a different label each time it was called. + To ensure determinism, the new implementation will now generate the same label for + the same input image when using the same operation. The most common use case is something close to: From 92fc0879f3279d8009c95454e20a61dcdae0ba91 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 04:28:20 +0000 Subject: [PATCH 3/4] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- monai/transforms/regularization/array.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monai/transforms/regularization/array.py b/monai/transforms/regularization/array.py index 4c4a6f62a2..66a5116c1a 100644 --- a/monai/transforms/regularization/array.py +++ b/monai/transforms/regularization/array.py @@ -111,7 +111,7 @@ class CutMix(Mixer): documentation for details on the constructor parameters. Here, alpha not only determines the mixing weight but also the size of the random rectangles used during for mixing. Please refer to the paper for details. - + Please note that there is a change in behavior starting from version 1.4.0. In the previous implementation, the transform would generate a different label each time it was called. To ensure determinism, the new implementation will now generate the same label for From f524b8b44d1e64b08b9ac2ec430b386c3d7b8edc Mon Sep 17 00:00:00 2001 From: YunLiu <55491388+KumoLiu@users.noreply.github.com> Date: Mon, 14 Oct 2024 13:34:13 +0800 Subject: [PATCH 4/4] update date Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com> --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 53f1049449..e073eac56a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). ## [Unreleased] -## [1.4.0] - 2024-10-15 +## [1.4.0] - 2024-10-14 ## What's Changed ### Added * Implemented Conjugate Gradient Solver to generate confidence maps. (#7876)