From 5002fd9305c2440c1ec4c0f7a55bce34e1030d00 Mon Sep 17 00:00:00 2001 From: YunLiu <55491388+KumoLiu@users.noreply.github.com> Date: Mon, 14 Oct 2024 18:36:50 +0800 Subject: [PATCH] Update citation (#8148) Part of #8110 ### Types of changes - [x] Non-breaking change (fix or new feature that would not break existing functionality). - [ ] Breaking change (fix or new feature that would cause existing functionality to change). - [ ] New tests added to cover the changes. - [ ] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [ ] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. - [ ] In-line docstrings updated. - [ ] Documentation updated, tested `make html` command in the `docs/` folder. --------- Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .github/workflows/weekly-preview.yml | 2 +- CHANGELOG.md | 2 +- CITATION.cff | 4 ++-- monai/transforms/regularization/array.py | 5 +++++ 4 files changed, 9 insertions(+), 4 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/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) 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 diff --git a/monai/transforms/regularization/array.py b/monai/transforms/regularization/array.py index 4bf6cff649..66a5116c1a 100644 --- a/monai/transforms/regularization/array.py +++ b/monai/transforms/regularization/array.py @@ -112,6 +112,11 @@ class CutMix(Mixer): 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: .. code-block:: python