Skip to content

Commit 4743945

Browse files
authored
update changelog and docs for v1.3 (#7110)
part of #7017 fixes #7112 ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [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: Wenqi Li <[email protected]>
1 parent 2b1e3d0 commit 4743945

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
55

66
## [Unreleased]
77

8-
## [1.3.0] - 2023-10-06
8+
## [1.3.0] - 2023-10-12
99
### Added
1010
* Intensity transforms `ScaleIntensityFixedMean` and `RandScaleIntensityFixedMean` (#6542)
1111
* `UltrasoundConfidenceMapTransform` used for computing confidence map from an ultrasound image (#6709)
@@ -39,6 +39,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
3939
* Support str type annotation to `device` in `ToTensorD` (#6737)
4040
* Improve logging message and file name extenstion in `DataAnalyzer` for `Auto3DSeg` (#6758)
4141
* Set `data_range` as a property in `SSIMLoss` (#6788)
42+
* Unify environment variable access (#7084)
4243
* `end_lr` support in `WarmupCosineSchedule` (#6662)
4344
* Add `ClearML` as optional dependency (#6827)
4445
* `yandex.disk` support in `download_url` (#6667)
@@ -52,6 +53,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
5253
* Fix mismatched shape in `Spacing` (#6912)
5354
* Avoid FutureWarning in `CropForeground` (#6934)
5455
* Fix `Lazy=True` ignored when using `Dataset` call (#6975)
56+
* Shape check for arbitrary types for DataStats (#7082)
5557
#### data
5658
* Fix wrong spacing checking logic in `PydicomReader` and broken link in `ITKReader` (#6660)
5759
* Fix boolean indexing of batched `MetaTensor` (#6781)
@@ -65,6 +67,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
6567
#### metrics and losses
6668
* Fixed bug in `GeneralizedDiceLoss` when `batch=True` (#6775)
6769
* Support for `BCEWithLogitsLoss` in `DiceCELoss` (#6924)
70+
* Support for `weight` in Dice and related losses (#7098)
6871
#### networks
6972
* Use `np.prod` instead of `np.product` (#6639)
7073
* Fix dimension issue in `MBConvBlock` (#6672)
@@ -87,8 +90,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
8790
* Bundle syntax `#` as alias of `::` (#6955)
8891
* Fix bundle download naming issue (#6969, #6963)
8992
* Simplify the usage of `ckpt_export` (#6965)
93+
* `update_kwargs` in `monai.bundle.script` for merging multiple configs (#7109)
9094
#### engines and handlers
9195
* Added int options for `iteration_log` and `epoch_log` in `TensorBoardStatsHandler` (#7027)
96+
* Support to run validator at training start (#7108)
9297
#### misc.
9398
* Fix device fallback error in `DataAnalyzer` (#6658)
9499
* Add int check for `current_mode` in `convert_applied_interp_mode` (#6719)
@@ -104,6 +109,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
104109
* Add type check to avoid comparing a np.array with a string in `_check_kwargs_are_present` (#6624)
105110
* Fix md5 hashing with FIPS mode (#6635)
106111
* Capture failures from Auto3DSeg related subprocess calls (#6596)
112+
* Code formatting tool for user-specified directory (#7106)
113+
* Various docstring fixes
107114
### Changed
108115
* Base Docker image upgraded to `nvcr.io/nvidia/pytorch:23.08-py3` from `nvcr.io/nvidia/pytorch:23.03-py3`
109116
### Deprecated
@@ -112,6 +119,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
112119
* `workflow` in `BundleWorkflow` in favor of `workflow_type`(#6768)
113120
* `pos_embed` in `PatchEmbeddingBlock` in favor of `proj_type`(#6986)
114121
* `net_name` and `net_kwargs` in `download` in favor of `model`(#7016)
122+
* `img_size` parameter in SwinUNETR (#7093)
115123
### Removed
116124
* `pad_val`, `stride`, `per_channel` and `upsampler` in `OcclusionSensitivity` (#6642)
117125
* `compute_meaniou` (#7019)

tests/test_swin_unetr.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from monai.networks.nets.swin_unetr import PatchMerging, PatchMergingV2, SwinUNETR, filter_swinunetr
2525
from monai.networks.utils import copy_model_state
2626
from monai.utils import optional_import
27-
from tests.utils import assert_allclose, skip_if_downloading_fails, skip_if_quick, testing_data_config
27+
from tests.utils import assert_allclose, skip_if_downloading_fails, skip_if_no_cuda, skip_if_quick, testing_data_config
2828

2929
einops, has_einops = optional_import("einops")
3030

@@ -108,6 +108,7 @@ def test_patch_merging(self):
108108

109109
@parameterized.expand(TEST_CASE_FILTER)
110110
@skip_if_quick
111+
@skip_if_no_cuda
111112
def test_filter_swinunetr(self, input_param, key, value):
112113
with skip_if_downloading_fails():
113114
with tempfile.TemporaryDirectory() as tempdir:

0 commit comments

Comments
 (0)