From 5892a4c56f67dc1a771b55feaedfb2baf4e22b5f Mon Sep 17 00:00:00 2001 From: YunLiu <55491388+KumoLiu@users.noreply.github.com> Date: Wed, 15 May 2024 23:03:55 +0800 Subject: [PATCH 1/4] Add changelog for 1.3.1 Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com> --- CHANGELOG.md | 93 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 92 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 61be8f07c19..a8c86269e66 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,96 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). ## [Unreleased] +## [1.3.1] - 2024-05-10 +### Added +* Support `by_measure` in `RemoveSmallObjects` (#7137) +* Support `pretrained` flag in `ResNet` (#7095) +* Support uploading and downloading bundles to and from the Hugging Face Hub (#6454) +* `weight` parameters in `DiceLoss` help apply to the voxels of each class (#7158) +* Support return dice for each class in `DiceMetric` (#7163) +* Documentaton enhancement for bundle (#7116) +* `ComponentStore` help represents a storage object (#7159) +* Utils used in MONAI Generative (#7134) +* Enable Python 3.11 for `convert_to_torchscript` and `convert_to_onnx` (#7182) +* Support MLflow in `AutoRunner` (#7176) +* `fname_regex` option in `PydicomReader` (#7181) +* Allow setting `AutoRunner` parameters from config (#7175) +* `VoxelMorphUNet` and `VoxelMorph` (#7178) +* Enable `cache` option in `GridPatchDataset` (#7180) +* `class_labels` option in `write_metrics_reports` to improve readability (#7249) +* `DiffusionLoss` for image registration task (#7272) +* Support specified `filename` in `Saveimage` (#7318) +* Compile support in `SupervisedTrainer` and `SupervisedEvaluator` (#7375) +* `mlflow_experiment_name` support in `Auto3DSeg` (#7442) +* Arm support (#7500) +* `BarlowTwinsLoss` for representation learning (#7530) +* `SURELoss` and `ConjugateGradient` for diffusion models (#7308) +* `CutMix`, `CutOut` and `MixUp` (#7198) +* `meta_file` and `logging_file` to `BundleWorkflow` (#7549) +* `properties_path` to `BundleWorkflow` for adding customized properties (#7542) +* `ClipIntensityPercentiles` support both soft and hard clipping (#7535) +* Support not save artifacts in `MLFlowHandler` (#7604) +* Multi-channel support in `PerceptualLoss` (#7568) +* Add ResNet backbone for `FlexibleUNet` (#7571) +* `dim_head` to `SABlock` enable setting dimension for each head (#7664) +#### misc. +* Refactor `list_data_collate` and `collate_meta_tensor` to use latest PyTorch API (#7165) +* `__str__` method added in Metric base class (#7487) +* Enhancement for testing files (#7662, #7670, #7663, #7671, #7672) +### Fixed +#### transforms +* Lazy ignored in `SpatialPadd` (#7316) +* Track applied_operations in `ImageFilter` (#7395) +* Give warning only if missing class is not set to 0 in `generate_label_classes_crop_centers` (#7602) +* Always convert input to C-order in `distance_transform_edt` (#7675) +#### data +* Using keys in .npz files for `NumpyReader` (#7148) +* Handle corrupted cached file in `PersistentDataset` (#7244) +* Incorrectly updated affine in `NrrdReader` (#7415) +#### metrics and losses +* Precision issue in `get_confusion_matrix` (#7187) +* Harmonization and clarification of dice losses variants docs and associated tests (#7587) +#### networks +* Hard-coded `spatial_dims` in `SwinTransformer` (#7302) +* Fix learnable `position_embeddings` in `PatchEmbeddingBlock` (#7564, #7605) +* Remove `memory_pool_limit` in trt config (#7647) +* Propagate `kernel_size` to `ConvBlocks` within `AttentionUnet` (#7734) +* Hard-coded activtation layer in `ResNet` (#7749) +#### bundle +* Bundle download issue (#7280) +* `bundle_root` dir update issue for NNIGen (#7586) +* Check for `num_fold` and fail early if wrong (#7634) +* Enhance logging logic in `ConfigWorkflow` (#7745) +#### misc. +* Enable chaining in `Auto3DSeg` CLI (#7168) +* Useless error message in `nnUNetV2Runner` (#7217) +* Typing and deprecation issues in Mypy (#7231) +* Quote $PY_EXE variable to deal with Python path that contain spaces in Bash (#7268) +* Improved documentation, code examples, and warning messages in various modules (#7234, #7213, #7271, #7326, #7569, #7584) +* Typo fix in various modules (#7321, #7322, #7458, #7595, #7612) +* Docstring enhancement in vaious modules (#7245, #7381, #7746) +* Handle error when data is on CPU in `DataAnalyzer` (#7310) +* 3rd party packages version requirement update (#7343, #7344, #7384, #7448, #7659, #7704, #7744, #7742) +* Incorrectly sice compute in `ImageStats` (#7374) +* Avoid editing a loop's mutable iterable, address B308 (#7397) +* Address `CUDA_VISIBLE_DEVICES` setting ignored (#7408, #7581) +* Avoid changing python version in CICD (#7424) +* Rename `partial` to `callable` in `instantiate` mode (#7413) +* Import AttributeError for Python 3.12 (#7482) +* Update `nnUNetV2Runner` to support nnunetv2 2.2 (#7483) +* Use uint8 instead of int8 in `LabelStats` (#7489) +* Utilizing subprocess for nnUNet training (#7576) +* Deprecated warning fixed in ruff (#7625) +* Downloading failure on FIPS machine (#7698) +* Update torch_tensorrt compile parameters to avoid warning (#7714) +### Changed +* Base Docker image upgraded to `nvcr.io/nvidia/pytorch:24.03-py3` from `nvcr.io/nvidia/pytorch:23.08-py3` +### Removed +* Unrecommanded star-arg unpacking after a keyword argument, addressed B026 (#7262) +* Skip old PyTorch version test for `SwinUNETR` (#7266) +* Drop docker build workflow and move to Nvidia Blossom system (#7450) +* Drop Python 3.8 test on quick-py3 workflow (#7719) + ## [1.3.0] - 2023-10-12 ### Added * Intensity transforms `ScaleIntensityFixedMean` and `RandScaleIntensityFixedMean` (#6542) @@ -943,7 +1033,8 @@ the postprocessing steps should be used before calling the metrics methods [highlights]: https://github.com/Project-MONAI/MONAI/blob/master/docs/source/highlights.md -[Unreleased]: https://github.com/Project-MONAI/MONAI/compare/1.3.0...HEAD +[Unreleased]: https://github.com/Project-MONAI/MONAI/compare/1.3.1...HEAD +[1.3.1]: https://github.com/Project-MONAI/MONAI/compare/1.3.0...1.3.1 [1.3.0]: https://github.com/Project-MONAI/MONAI/compare/1.2.0...1.3.0 [1.2.0]: https://github.com/Project-MONAI/MONAI/compare/1.1.0...1.2.0 [1.1.0]: https://github.com/Project-MONAI/MONAI/compare/1.0.1...1.1.0 From 425897e8924e343bde71b20ad112c28736c65045 Mon Sep 17 00:00:00 2001 From: YunLiu <55491388+KumoLiu@users.noreply.github.com> Date: Thu, 16 May 2024 10:54:25 +0800 Subject: [PATCH 2/4] polish changelog Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com> --- CHANGELOG.md | 136 +++++++++++++++++++++++++-------------------------- 1 file changed, 68 insertions(+), 68 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a8c86269e66..43c08c1f4e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,93 +7,93 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). ## [1.3.1] - 2024-05-10 ### Added -* Support `by_measure` in `RemoveSmallObjects` (#7137) -* Support `pretrained` flag in `ResNet` (#7095) -* Support uploading and downloading bundles to and from the Hugging Face Hub (#6454) -* `weight` parameters in `DiceLoss` help apply to the voxels of each class (#7158) -* Support return dice for each class in `DiceMetric` (#7163) -* Documentaton enhancement for bundle (#7116) -* `ComponentStore` help represents a storage object (#7159) -* Utils used in MONAI Generative (#7134) -* Enable Python 3.11 for `convert_to_torchscript` and `convert_to_onnx` (#7182) -* Support MLflow in `AutoRunner` (#7176) -* `fname_regex` option in `PydicomReader` (#7181) -* Allow setting `AutoRunner` parameters from config (#7175) +* Support for `by_measure` argument in `RemoveSmallObjects` (#7137) +* Support for `pretrained` flag in `ResNet` (#7095) +* Support for uploading and downloading bundles to and from the Hugging Face Hub (#6454) +* Added weight parameter in DiceLoss to apply weight to voxels of each class (#7158) +* Support for returning dice for each class in `DiceMetric` (#7163) +* Introduced `ComponentStore` for storage purposes (#7159) +* Added utilities used in MONAI Generative (#7134) +* Enabled Python 3.11 support for `convert_to_torchscript` and `convert_to_onnx` (#7182) +* Support for MLflow in `AutoRunner` (#7176) +* `fname_regex` option in PydicomReader (#7181) +* Allowed setting AutoRunner parameters from config (#7175) * `VoxelMorphUNet` and `VoxelMorph` (#7178) -* Enable `cache` option in `GridPatchDataset` (#7180) -* `class_labels` option in `write_metrics_reports` to improve readability (#7249) +* Enabled `cache` option in `GridPatchDataset` (#7180) +* Introduced `class_labels` option in `write_metrics_reports` for improved readability (#7249) * `DiffusionLoss` for image registration task (#7272) -* Support specified `filename` in `Saveimage` (#7318) +* Supported specifying `filename` in `Saveimage` (#7318) * Compile support in `SupervisedTrainer` and `SupervisedEvaluator` (#7375) * `mlflow_experiment_name` support in `Auto3DSeg` (#7442) * Arm support (#7500) * `BarlowTwinsLoss` for representation learning (#7530) * `SURELoss` and `ConjugateGradient` for diffusion models (#7308) -* `CutMix`, `CutOut` and `MixUp` (#7198) -* `meta_file` and `logging_file` to `BundleWorkflow` (#7549) -* `properties_path` to `BundleWorkflow` for adding customized properties (#7542) -* `ClipIntensityPercentiles` support both soft and hard clipping (#7535) -* Support not save artifacts in `MLFlowHandler` (#7604) -* Multi-channel support in `PerceptualLoss` (#7568) -* Add ResNet backbone for `FlexibleUNet` (#7571) -* `dim_head` to `SABlock` enable setting dimension for each head (#7664) +* Support for `CutMix`, `CutOut`, and `MixUp` augmentation techniques (#7198) +* `meta_file` and `logging_file` options to `BundleWorkflow` (#7549) +* `properties_path` option to `BundleWorkflow` for customized properties (#7542) +* Support for both soft and hard clipping in `ClipIntensityPercentiles` (#7535) +* Support for not saving artifacts in `MLFlowHandler` (#7604) +* Support for multi-channel images in `PerceptualLoss` (#7568) +* Added ResNet backbone for `FlexibleUNet` (#7571) +* Introduced `dim_head` option in `SABlock` to set dimensions for each head (#7664) #### misc. -* Refactor `list_data_collate` and `collate_meta_tensor` to use latest PyTorch API (#7165) -* `__str__` method added in Metric base class (#7487) -* Enhancement for testing files (#7662, #7670, #7663, #7671, #7672) +* Refactored `list_data_collate` and `collate_meta_tensor` to utilize the latest PyTorch API (#7165) +* Added __str__ method in `Metric` base class (#7487) +* Made enhancements for testing files (#7662, #7670, #7663, #7671, #7672) +* Improved documentation for bundles (#7116) ### Fixed #### transforms -* Lazy ignored in `SpatialPadd` (#7316) -* Track applied_operations in `ImageFilter` (#7395) -* Give warning only if missing class is not set to 0 in `generate_label_classes_crop_centers` (#7602) -* Always convert input to C-order in `distance_transform_edt` (#7675) +* Addressed issue where lazy mode was ignored in `SpatialPadd` (#7316) +* Tracked applied operations in `ImageFilter` (#7395) +* Warnings are now given only if missing class is not set to 0 in `generate_label_classes_crop_centers` (#7602) +* Input is now always converted to C-order in `distance_transform_edt` to ensure consistent behavior (#7675) #### data -* Using keys in .npz files for `NumpyReader` (#7148) -* Handle corrupted cached file in `PersistentDataset` (#7244) -* Incorrectly updated affine in `NrrdReader` (#7415) +* Modified .npz file behavior to use keys in `NumpyReader` (#7148) +* Handled corrupted cached files in `PersistentDataset` (#7244) +* Corrected affine update in `NrrdReader` (#7415) #### metrics and losses -* Precision issue in `get_confusion_matrix` (#7187) -* Harmonization and clarification of dice losses variants docs and associated tests (#7587) +* Addressed precision issue in `get_confusion_matrix` (#7187) +* Harmonized and clarified documentation and tests for dice losses variants (#7587) #### networks -* Hard-coded `spatial_dims` in `SwinTransformer` (#7302) -* Fix learnable `position_embeddings` in `PatchEmbeddingBlock` (#7564, #7605) -* Remove `memory_pool_limit` in trt config (#7647) -* Propagate `kernel_size` to `ConvBlocks` within `AttentionUnet` (#7734) -* Hard-coded activtation layer in `ResNet` (#7749) +* Removed hard-coded `spatial_dims` in `SwinTransformer` (#7302) +* Fixed learnable `position_embeddings` in `PatchEmbeddingBlock` (#7564, #7605) +* Removed `memory_pool_limit` in TRT config (#7647) +* Propagated `kernel_size` to `ConvBlocks` within `AttentionUnet` (#7734) +* Addressed hard-coded activation layer in `ResNet` (#7749) #### bundle -* Bundle download issue (#7280) -* `bundle_root` dir update issue for NNIGen (#7586) -* Check for `num_fold` and fail early if wrong (#7634) -* Enhance logging logic in `ConfigWorkflow` (#7745) +* Resolved bundle download issue (#7280) +* Updated `bundle_root` directory for `NNIGen` (#7586) +* Checked for `num_fold` and failed early if incorrect (#7634) +* Enhanced logging logic in `ConfigWorkflow` (#7745) #### misc. -* Enable chaining in `Auto3DSeg` CLI (#7168) -* Useless error message in `nnUNetV2Runner` (#7217) -* Typing and deprecation issues in Mypy (#7231) -* Quote $PY_EXE variable to deal with Python path that contain spaces in Bash (#7268) +* Enabled chaining in `Auto3DSeg` CLI (#7168) +* Addressed useless error message in `nnUNetV2Runner` (#7217) +* Resolved typing and deprecation issues in Mypy (#7231) +* Quoted `$PY_EXE` variable to handle Python path that contains spaces in Bash (#7268) * Improved documentation, code examples, and warning messages in various modules (#7234, #7213, #7271, #7326, #7569, #7584) -* Typo fix in various modules (#7321, #7322, #7458, #7595, #7612) -* Docstring enhancement in vaious modules (#7245, #7381, #7746) -* Handle error when data is on CPU in `DataAnalyzer` (#7310) -* 3rd party packages version requirement update (#7343, #7344, #7384, #7448, #7659, #7704, #7744, #7742) -* Incorrectly sice compute in `ImageStats` (#7374) -* Avoid editing a loop's mutable iterable, address B308 (#7397) -* Address `CUDA_VISIBLE_DEVICES` setting ignored (#7408, #7581) -* Avoid changing python version in CICD (#7424) -* Rename `partial` to `callable` in `instantiate` mode (#7413) -* Import AttributeError for Python 3.12 (#7482) -* Update `nnUNetV2Runner` to support nnunetv2 2.2 (#7483) -* Use uint8 instead of int8 in `LabelStats` (#7489) -* Utilizing subprocess for nnUNet training (#7576) -* Deprecated warning fixed in ruff (#7625) -* Downloading failure on FIPS machine (#7698) -* Update torch_tensorrt compile parameters to avoid warning (#7714) +* Fixed typos in various modules (#7321, #7322, #7458, #7595, #7612) +* Enhanced docstrings in various modules (#7245, #7381, #7746) +* Handled error when data is on CPU in `DataAnalyzer` (#7310) +* Updated version requirements for third-party packages (#7343, #7344, #7384, #7448, #7659, #7704, #7744, #7742) +* Addressed incorrect slice compute in `ImageStats` (#7374) +* Avoided editing a loop's mutable iterable to address B308 (#7397) +* Fixed issue with `CUDA_VISIBLE_DEVICES` setting being ignored (#7408, #7581) +* Avoided changing Python version in CICD (#7424) +* Renamed partial to callable in instantiate mode (#7413) +* Imported AttributeError for Python 3.12 compatibility (#7482) +* Updated `nnUNetV2Runner` to support nnunetv2 2.2 (#7483) +* Used uint8 instead of int8 in `LabelStats` (#7489) +* Utilized subprocess for nnUNet training (#7576) +* Addressed deprecated warning in ruff (#7625) +* Fixed downloading failure on FIPS machine (#7698) +* Updated `torch_tensorrt` compile parameters to avoid warning (#7714) ### Changed * Base Docker image upgraded to `nvcr.io/nvidia/pytorch:24.03-py3` from `nvcr.io/nvidia/pytorch:23.08-py3` ### Removed -* Unrecommanded star-arg unpacking after a keyword argument, addressed B026 (#7262) -* Skip old PyTorch version test for `SwinUNETR` (#7266) -* Drop docker build workflow and move to Nvidia Blossom system (#7450) -* Drop Python 3.8 test on quick-py3 workflow (#7719) +* Removed unrecommended star-arg unpacking after a keyword argument, addressed B026 (#7262) +* Skipped old PyTorch version test for `SwinUNETR` (#7266) +* Dropped docker build workflow and migrated to Nvidia Blossom system (#7450) +* Dropped Python 3.8 test on quick-py3 workflow (#7719) ## [1.3.0] - 2023-10-12 ### Added From 40a6926ff3bddcdeb26b165905a782df996f76e1 Mon Sep 17 00:00:00 2001 From: YunLiu <55491388+KumoLiu@users.noreply.github.com> Date: Fri, 17 May 2024 20:09:15 +0800 Subject: [PATCH 3/4] minor update Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com> --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 43c08c1f4e6..7fc3b3a701c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). * Support for multi-channel images in `PerceptualLoss` (#7568) * Added ResNet backbone for `FlexibleUNet` (#7571) * Introduced `dim_head` option in `SABlock` to set dimensions for each head (#7664) +* Direct links to github source code to docs (#7738, #7779) #### misc. * Refactored `list_data_collate` and `collate_meta_tensor` to utilize the latest PyTorch API (#7165) * Added __str__ method in `Metric` base class (#7487) @@ -74,7 +75,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). * Fixed typos in various modules (#7321, #7322, #7458, #7595, #7612) * Enhanced docstrings in various modules (#7245, #7381, #7746) * Handled error when data is on CPU in `DataAnalyzer` (#7310) -* Updated version requirements for third-party packages (#7343, #7344, #7384, #7448, #7659, #7704, #7744, #7742) +* Updated version requirements for third-party packages (#7343, #7344, #7384, #7448, #7659, #7704, #7744, #7742, #7780) * Addressed incorrect slice compute in `ImageStats` (#7374) * Avoided editing a loop's mutable iterable to address B308 (#7397) * Fixed issue with `CUDA_VISIBLE_DEVICES` setting being ignored (#7408, #7581) @@ -87,6 +88,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). * Addressed deprecated warning in ruff (#7625) * Fixed downloading failure on FIPS machine (#7698) * Updated `torch_tensorrt` compile parameters to avoid warning (#7714) +* Restrict `Auto3DSeg` fold input based on datalist (#7778) ### Changed * Base Docker image upgraded to `nvcr.io/nvidia/pytorch:24.03-py3` from `nvcr.io/nvidia/pytorch:23.08-py3` ### Removed From 5ef1b34ecaf68f6eb487f6c67fd445113661a3cf Mon Sep 17 00:00:00 2001 From: YunLiu <55491388+KumoLiu@users.noreply.github.com> Date: Fri, 17 May 2024 20:50:16 +0800 Subject: [PATCH 4/4] minor fix 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 7fc3b3a701c..38336505ed4 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.3.1] - 2024-05-10 +## [1.3.1] - 2024-05-17 ### Added * Support for `by_measure` argument in `RemoveSmallObjects` (#7137) * Support for `pretrained` flag in `ResNet` (#7095)