Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
4071750
4599 mri ssim loss (#4600)
mersad95zd Jul 8, 2022
9580603
backward compatible inverse (#4648)
wyli Jul 10, 2022
cbe16eb
Mean IoU Implementation (#4663)
yashika-git Jul 11, 2022
e8672aa
4655 fixes shape fallback (#4662)
wyli Jul 11, 2022
f84a908
4540 Add example in the doc of metrics (#4660)
Nic-Ma Jul 11, 2022
51753ab
Fixes pad list data collate (#4670)
wyli Jul 12, 2022
b390b09
blend_images: voxel-wise alpha (#4679)
rijobro Jul 12, 2022
3b12a24
4667 Enhance verify metadata (#4686)
yiheng-wang-nv Jul 13, 2022
fedff1d
4687 Fix collate issue for `ImageDataset` (#4688)
Nic-Ma Jul 13, 2022
57f3999
4649 adds `__array_function__` impl. (#4676)
wyli Jul 13, 2022
d99857c
4587 mri utils (#4690)
mersad95zd Jul 13, 2022
1b73fef
4646 fastmri reader (#4653)
mersad95zd Jul 14, 2022
44504e1
4685 get/set array for metatensor (#4689)
wyli Jul 14, 2022
7a5de8b
MONAILabel needed changes for DeepEdit/Deepgrow/NuClick Transform to …
SachidanandAlle Jul 14, 2022
ec7f9c0
4693 4696 - fixes swinunetr (#4695)
wyli Jul 15, 2022
def0d90
Preserve ordering of input dict's keys in crop transforms (#4707)
KumoLiu Jul 15, 2022
ec4c031
4708 update multiprocessing metatensor properties (#4709)
wyli Jul 16, 2022
5fb767c
4715 update slicing impl. (#4716)
wyli Jul 18, 2022
225fda4
simplify copy attr speed up metatensor (#4714)
wyli Jul 18, 2022
345b8ae
fix deepedit/nuclick transforms for metatensor (#4719)
SachidanandAlle Jul 19, 2022
ec5376e
4717 Add update API for the `ConfigParser` (#4721)
Nic-Ma Jul 19, 2022
9fb9d98
4587 mri transforms (#4591)
mersad95zd Jul 19, 2022
422cc6d
4258 Add TCIA dataset (#4610)
yiheng-wang-nv Jul 19, 2022
73cd27e
4462 dataset summary for metatensor (#4728)
wyli Jul 20, 2022
fed6fc7
fix meta_tensor for box_ops (#4666)
Can-Zhao Jul 20, 2022
953c7d4
4462 update detection transforms for metatensor (#4729)
wyli Jul 20, 2022
5048752
4581 optional final Tanh (#4736)
wyli Jul 20, 2022
71c66ef
add user warnings in AsChannelFirst and AddChannel (#4732)
KumoLiu Jul 21, 2022
0711ffe
4691 support block type strings in resnet and senet (#4738)
KumoLiu Jul 21, 2022
b9d39d4
4720 Add `track_meta` option to the `ToTensor` transform (#4733)
Nic-Ma Jul 21, 2022
facc732
update changelog for v0.9.1 (#4739)
wyli Jul 21, 2022
c45b3f0
Handle immutable data inputs for patch wsi datasets (#4725)
bhashemian Jul 21, 2022
5e43e2f
Add allow missing keys in `EnsureChannelFirstd` (#4742)
KumoLiu Jul 22, 2022
9c12cd8
Enhance Spacing and Orientation transforms for MetaTensor (#4748)
Nic-Ma Jul 22, 2022
5e36e23
4741 Support MetaTensor data type in `Concatitemd` (#4745)
KumoLiu Jul 22, 2022
398466c
4747 compatible dtypes for padding (#4749)
wyli Jul 22, 2022
6338ea4
Permanent dataset hashes transforms (#4633)
rijobro Jul 23, 2022
178e973
update changelog for v0.9.1 (#4744)
wyli Jul 25, 2022
356d2d2
4757 update patch merging (#4758)
wyli Jul 25, 2022
5d194ad
4632 - releasing v0.9.1 (#4762)
wyli Jul 26, 2022
31c4209
4599 01 MRI SSIMLoss (#4713)
mersad95zd Jul 26, 2022
4831909
Implement GridSplit using torch.as_strided (#4768)
bhashemian Jul 27, 2022
83ec156
[CICD] Add YanxuanLiu as blossom trigger user (#4780)
YanxuanLiu Jul 28, 2022
a400cda
4774 dtype-percentile (#4775)
wyli Jul 28, 2022
5f019d7
4772 adds test cases (#4773)
wyli Jul 28, 2022
46d9026
4779 fixes docstring (#4785)
wyli Jul 28, 2022
c1eaf42
4789 adds a space type metadata field to metatensor (#4790)
wyli Jul 29, 2022
2c89142
Fix ProbMap locations (#4796)
bhashemian Jul 29, 2022
288edee
Update patch merging with a for loop (#4793)
Jul 29, 2022
4ae41e8
4799 change deprecation warning category to provide more info at runt…
wyli Aug 1, 2022
30d592c
4791 Adapt affine arg to the Spacing transform (#4792)
Nic-Ma Aug 1, 2022
3a8c421
4769 adds a util to reset applied operations id (#4778)
wyli Aug 1, 2022
81fb7e4
4643 varnet (#4706)
mersad95zd Aug 2, 2022
9317d14
correct blossom trigger list format (#4821)
YanxuanLiu Aug 3, 2022
d0b8bc0
2948 - regex pruning metadata keys (#4819)
wyli Aug 3, 2022
ef05b24
4814 Update PyTorch base docker to 22.07 (#4815)
Nic-Ma Aug 3, 2022
63a5bac
VarNet CoilSensitivityModel (#4817)
mersad95zd Aug 3, 2022
f317aeb
4206 4621 4811 update c++/cuda extension installation instructions (#…
wyli Aug 3, 2022
63d06b2
4822 remove deprecated class call in `EnsureChannelFirst` (#4823)
KumoLiu Aug 4, 2022
374fd25
Add Time Profiler Class (#4825)
ericspod Aug 4, 2022
a9095d0
Refactor the comparison involving `not` (#4833)
deepsource-autofix[bot] Aug 4, 2022
9901824
Change to EnsureChannelFirst to include behaviour from deprecated tra…
ericspod Aug 5, 2022
df6979d
Add client_algo.py, monai_algo.py and exchange_object.py (#4612) (#4675)
Warvito Aug 5, 2022
ac3d4f9
VarNetBlock (#4818)
mersad95zd Aug 5, 2022
e8d7c96
4841 shuffle buffer for multiple epochs (#4847)
wyli Aug 8, 2022
5d50618
4848 849 4718 misc updates - adds device tests, docstrings (#4838)
wyli Aug 8, 2022
456caed
Deprecate Old Pathology Components (#4415)
bhashemian Aug 8, 2022
6da25ae
Update DeepEdit transform (#4868)
diazandr3s Aug 9, 2022
38bc8fa
4854 fixes percentile (#4877)
wyli Aug 10, 2022
b087b11
Adding __str__ to MetaTensor (#4843)
ericspod Aug 10, 2022
9858293
4867 flexible torchvision fc models (#4873)
wyli Aug 10, 2022
b1ccd02
233 - set up a backward compatibility policy (#4857)
wyli Aug 11, 2022
77a45b8
4862 Enhance docstring for the regular 2D image dims (#4892)
Nic-Ma Aug 11, 2022
91cd926
4754 default ToTensor.track_meta to None (#4874)
wyli Aug 11, 2022
aeebfd6
fix(VnetInputTransition): added custom out channels (#4895)
a-parida12 Aug 11, 2022
159b15f
4846 send weight differences (#4876)
holgerroth Aug 11, 2022
e462467
Add flexible unet for encoder-decoder structure (#4801)
binliunls Aug 12, 2022
d77b327
e2e-varnet (#4853)
mersad95zd Aug 12, 2022
e0a7eff
Add dummy filter and base class for FL (#4899)
holgerroth Aug 12, 2022
535c6f1
4907 invertd for resizing same spatial shapes (#4908)
wyli Aug 14, 2022
4deb765
4563 Enhance the stats information of workflows (#4888)
Nic-Ma Aug 15, 2022
342f4aa
Issue with half precision training (#4913)
BardiaKh Aug 16, 2022
7be203d
Video dataset (#4767)
rijobro Aug 16, 2022
695507d
Replace range(len(...)) with enumerate(...) (#4918)
deepsource-autofix[bot] Aug 16, 2022
fb976d7
4910 Add the mean iou handler (#4916)
binliunls Aug 16, 2022
55caf94
4920 integration test fixes (#4921)
wyli Aug 18, 2022
a541663
Improve FL ExchangeObject printing and summary (#4925)
holgerroth Aug 18, 2022
abdb591
4931- provide an initial channel dim (#4933)
wyli Aug 18, 2022
99a0d91
Improve data type conversion performance in convert_to_numpy (#4934)
gigony Aug 19, 2022
2e2cae0
4929 - enhance the subprocess tests to have detailed outputs (#4937)
wyli Aug 19, 2022
009af55
4856 resampling cupy backend for cuda-based spline interpolation (#4919)
wyli Aug 19, 2022
4270cdf
Meshgrid Fix For RandSmoothDeform (#4941)
ericspod Aug 19, 2022
8c15ead
4938 improve SpatialResample default values and fixes bugs (#4940)
wyli Aug 19, 2022
f2bd04b
Multithread WSIReader for cucim backend (#4943)
bhashemian Aug 20, 2022
1941283
Workflow Fix (#4944)
ericspod Aug 20, 2022
eb18504
monai env vars (#4952)
rijobro Aug 22, 2022
f5520f3
4958 adds description using `_desc_` in bundle config (#4963)
wyli Aug 23, 2022
32af32c
Fix For RandSmoothDeform Component Order (#4973)
ericspod Aug 23, 2022
d5fc746
4971 support of missing indexing in config parser (including minor pa…
wyli Aug 24, 2022
d9c80b9
Support multiple click interactions per batch for DeepEdit training (…
SachidanandAlle Aug 24, 2022
6c5cfd2
Update index.rst (#4989)
davidshq Aug 24, 2022
e343575
4990 enhance worker_init_fn (#4991)
wyli Aug 24, 2022
aa93129
Improve MonaiAlgo (#4985)
holgerroth Aug 24, 2022
d3b8072
4993 clarify the installation issues monai/monai-weekly (#4995)
wyli Aug 25, 2022
09993fa
Denseblock Class (#4999)
ericspod Aug 25, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/blossom-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,12 @@ jobs:
args: ${{ env.args }}

# This job only runs for pull request comments
if: |
contains( 'Nic-Ma,wyli,pxLi,', format('{0},', github.actor)) &&
github.event.comment.body == '/build'
if: contains('\
Nic-Ma,\
wyli,\
pxLi,\
YanxuanLiu,\
', format('{0},', github.actor)) && github.event.comment.body == '/build'
steps:
- name: Check if comment is issued by authorized person
run: blossom-ci
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
python -c 'import torch; print(torch.rand(5, 3, device=torch.device("cuda:0")))'
BUILD_MONAI=1 ./runtests.sh --build --coverage --unittests --disttests # unit tests with coverage report
BUILD_MONAI=1 ./runtests.sh --build --coverage --net # integration tests with coverage report
coverage xml
coverage xml --ignore-errors
if pgrep python; then pkill python; fi
- name: Upload coverage
uses: codecov/codecov-action@v1
Expand All @@ -62,7 +62,7 @@ jobs:
if: github.repository == 'Project-MONAI/MONAI'
strategy:
matrix:
container: ["pytorch:21.02", "pytorch:21.10", "pytorch:22.06"] # 21.02, 21.10 for backward comp.
container: ["pytorch:21.02", "pytorch:21.10", "pytorch:22.07"] # 21.02, 21.10 for backward comp.
container:
image: nvcr.io/nvidia/${{ matrix.container }}-py3 # testing with the latest pytorch base image
options: "--gpus all"
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
python -c 'import torch; print(torch.rand(5, 3, device=torch.device("cuda:0")))'
BUILD_MONAI=1 ./runtests.sh --build --coverage --unittests --disttests # unit tests with coverage report
BUILD_MONAI=1 ./runtests.sh --build --coverage --net # integration tests with coverage report
coverage xml
coverage xml --ignore-errors
if pgrep python; then pkill python; fi
- name: Upload coverage
uses: codecov/codecov-action@v1
Expand All @@ -106,7 +106,7 @@ jobs:
if: github.repository == 'Project-MONAI/MONAI'
strategy:
matrix:
container: ["pytorch:21.02", "pytorch:21.10", "pytorch:22.06"] # 21.02, 21.10 for backward comp.
container: ["pytorch:21.02", "pytorch:21.10", "pytorch:22.07"] # 21.02, 21.10 for backward comp.
container:
image: nvcr.io/nvidia/${{ matrix.container }}-py3 # testing with the latest pytorch base image
options: "--gpus all"
Expand Down Expand Up @@ -192,7 +192,7 @@ jobs:
ngc --version
BUILD_MONAI=1 ./runtests.sh --build --coverage --pytype --unittests --disttests # unit tests with pytype checks, coverage report
BUILD_MONAI=1 ./runtests.sh --build --coverage --net # integration tests with coverage report
coverage xml
coverage xml --ignore-errors
if pgrep python; then pkill python; fi
- name: Upload coverage
uses: codecov/codecov-action@v1
Expand All @@ -204,7 +204,7 @@ jobs:
if: github.repository == 'Project-MONAI/MONAI'
needs: cron-gpu # so that monai itself is verified first
container:
image: nvcr.io/nvidia/pytorch:22.06-py3 # testing with the latest pytorch base image
image: nvcr.io/nvidia/pytorch:22.07-py3 # testing with the latest pytorch base image
options: "--gpus all --ipc=host"
runs-on: [self-hosted, linux, x64, common]
steps:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pythonapp-gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- "PT17+CUDA102"
- "PT18+CUDA102"
- "PT18+CUDA112"
- "PT112+CUDA116"
- "PT112+CUDA117"
- "PT110+CUDA102"
- "PT112+CUDA102"
include:
Expand All @@ -45,11 +45,11 @@ jobs:
# 21.10: 1.10.0a0+0aef44c
pytorch: "-h"
base: "nvcr.io/nvidia/pytorch:21.10-py3"
- environment: PT112+CUDA116
- environment: PT112+CUDA117
# we explicitly set pytorch to -h to avoid pip install error
# 22.06: 1.13.0a0+340c412
# 22.07: 1.13.0a0+08820cb
pytorch: "-h"
base: "nvcr.io/nvidia/pytorch:22.06-py3"
base: "nvcr.io/nvidia/pytorch:22.07-py3"
- environment: PT110+CUDA102
pytorch: "torch==1.10.2 torchvision==0.11.3"
base: "nvcr.io/nvidia/cuda:10.2-devel-ubuntu18.04"
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
# test the clang-format tool downloading once
coverage run -m tests.clang_format_utils
fi
coverage xml
coverage xml --ignore-errors
if pgrep python; then pkill python; fi
shell: bash
- name: Upload coverage
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,5 +222,6 @@ jobs:
cd docs/
make clean
make html 2>&1 | tee tmp_log
if [[ $(grep -c "ERROR:" tmp_log) != 0 ]]; then echo "found errors"; grep "ERROR:" tmp_log; exit 1; fi
if [[ $(grep -c "WARNING:" tmp_log) != 0 ]]; then echo "found warnings"; grep "WARNING:" tmp_log; exit 1; fi
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:

- if: matrix.python-version == '3.8' && startsWith(github.ref, 'refs/tags/')
name: Publish to Test PyPI
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI }}
repository_url: https://test.pypi.org/legacy/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/setupapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
python -c 'import torch; print(torch.rand(5, 3, device=torch.device("cuda:0")))'
BUILD_MONAI=1 ./runtests.sh --build --coverage --unittests --disttests # unit tests with coverage report
BUILD_MONAI=1 ./runtests.sh --build --coverage --net # integration tests with coverage report
coverage xml
coverage xml --ignore-errors
if pgrep python; then pkill python; fi
shell: bash
- name: Upload coverage
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
python -m pip list
python -c 'import torch; print(torch.__version__); print(torch.rand(5,3))'
BUILD_MONAI=1 ./runtests.sh --build --quick --unittests --disttests
coverage xml
coverage xml --ignore-errors
- name: Upload coverage
uses: codecov/codecov-action@v1
with:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ tests/testing_data/MedNIST*
tests/testing_data/*Hippocampus*
tests/testing_data/*.tiff
tests/testing_data/schema.json
tests/testing_data/endo.mp4
tests/testing_data/ultrasound.avi
*.svg

# clang format tool
Expand Down
34 changes: 31 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,38 @@
# Changelog
All notable changes to MONAI are documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

## [Unreleased]

## [0.9.1] - 2022-07-22
### Added
* Support of `monai.data.MetaTensor` as core data structure across the modules
* Support of `inverse` in array-based transforms
* `monai.apps.TciaDataset` APIs for The Cancer Imaging Archive (TCIA) datasets, including a pydicom-backend reader
* Initial release of components for MRI reconstruction in `monai.apps.reconstruction`, including various FFT utilities
* New metrics and losses, including mean IoU and structural similarity index
* `monai.utils.StrEnum` class to simplify Enum-based type annotations
### Changed
* Base Docker image upgraded to `nvcr.io/nvidia/pytorch:22.06-py3` from `nvcr.io/nvidia/pytorch:22.04-py3`
* Optionally depend on PyTorch-Ignite v0.4.9 instead of v0.4.8
### Fixed
* Fixed issue of not skipping post activations in `Convolution` when input arguments are None
* Fixed issue of ignoring dropout arguments in `DynUNet`
* Fixed issue of hard-coded non-linear function in ViT classification head
* Fixed issue of in-memory config overriding with `monai.bundle.ConfigParser.update`
* 2D SwinUNETR incompatible shapes
* Fixed issue with `monai.bundle.verify_metadata` not raising exceptions
* Fixed issue with `monai.transforms.GridPatch` returns inconsistent type location when padding
* Wrong generalized Dice score metric when denominator is 0 but prediction is non-empty
* Docker image build error due to NGC CLI upgrade
* Optional default value when parsing id unavailable in a ConfigParser instance
* Immutable data input for the patch-based WSI datasets
### Deprecated
* `*_transforms` and `*_meta_dict` fields in dictionary-based transforms in favor of MetaTensor
* `meta_keys`, `meta_key_postfix`, `src_affine` arguments in various transforms, in favor of MetaTensor
* `AsChannelFirst` and `AddChannel`, in favor of `EnsureChannelFirst` transform

## [0.9.0] - 2022-06-08
### Added
* `monai.bundle` primary module with a `ConfigParser` and command-line interfaces for configuration-based workflows
Expand Down Expand Up @@ -534,7 +561,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/0.9.0...HEAD
[Unreleased]: https://github.com/Project-MONAI/MONAI/compare/0.9.1...HEAD
[0.9.1]: https://github.com/Project-MONAI/MONAI/compare/0.9.0...0.9.1
[0.9.0]: https://github.com/Project-MONAI/MONAI/compare/0.8.1...0.9.0
[0.8.1]: https://github.com/Project-MONAI/MONAI/compare/0.8.0...0.8.1
[0.8.0]: https://github.com/Project-MONAI/MONAI/compare/0.7.0...0.8.0
Expand Down
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ title: "MONAI: Medical Open Network for AI"
abstract: "AI Toolkit for Healthcare Imaging"
authors:
- name: "MONAI Consortium"
date-released: 2022-06-13
version: "0.9.0"
date-released: 2022-07-25
version: "0.9.1"
identifiers:
- description: "This DOI represents all versions of MONAI, and will always resolve to the latest one."
type: doi
Expand Down
28 changes: 21 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,10 +283,25 @@ for example, ``import monai.transforms.Spacing`` is the equivalent of ``monai.tr
For string definition, [f-string](https://www.python.org/dev/peps/pep-0498/) is recommended to use over `%-print` and `format-print`. So please try to use `f-string` if you need to define any string object.

#### Backwards compatibility
MONAI is currently under active development, and with major version zero (following the [Semantic Versioning](https://semver.org/)).
The backwards compatibility of the API is not always guaranteed at this initial development stage.
However, utility functions are provided in the `monai.utils.deprecated` modules to help users migrate to the new API.
The use of these functions is encouraged.
MONAI in general follows [PyTorch's policy for backward compatibility](https://github.com/pytorch/pytorch/wiki/PyTorch's-Python-Frontend-Backward-and-Forward-Compatibility-Policy).
Utility functions are provided in `monai.utils.deprecated` to help migrate from the deprecated to new APIs. The use of these utilities is encouraged.
The pull request [template contains checkboxes](https://github.com/Project-MONAI/MONAI/blame/dev/.github/pull_request_template.md#L11-L12) that
the contributor should use accordingly to clearly indicate breaking changes.

The process of releasing backwards incompatible API changes is as follows:
1. discuss the breaking changes during pull requests or in dev meetings with a feature proposal if needed.
1. add a warning message in the upcoming release (version `X.Y`), the warning message should include a forecast of removing the deprecated API in:
1. `X+1.0` -- major version `X+1` and minor version `0` the next major version if it's a significant change,
1. `X.Y+2` -- major version `X` and minor version `Y+2` (the minor version after the next one), if it's a minor API change.
1. Note that the versioning policy is similar to PyTorch's approach which does not precisely follow [the semantic versioning](https://semver.org/) definition.
Major version numbers are instead used to represent major product version (which is currently not planned to be greater than 1),
minor version for both compatible and incompatible, and patch version for bug fixes.
1. when recommending new API to use in place of a deprecated API, the recommended version should
provide exact feature-like behaviour otherwise users will have a harder time migrating.
1. add new test cases by extending the existing unit tests to cover both the deprecated and updated APIs.
1. collect feedback from the users during the subsequent few releases, and reconsider step 1 if needed.
1. before each release, review the deprecating APIs and relevant tests, and clean up the removed APIs described in step 2.



### Submitting pull requests
Expand Down Expand Up @@ -349,12 +364,11 @@ When major features are ready for a milestone, to prepare for a new release:
- Merge `releasing/[version number]` to `dev`, this step must make sure that the tagging commit unchanged on `dev`.
- Publish the release note.

Note that the release should be tagged with a [PEP440](https://www.python.org/dev/peps/pep-0440/) compliant
[semantic versioning](https://semver.org/spec/v2.0.0.html) number.
Note that the release should be tagged with a [PEP440](https://www.python.org/dev/peps/pep-0440/) compliant version number.

If any error occurs during the release process, first check out a new hotfix branch from the `releasing/[version number]`,
then make PRs to the `releasing/[version number]` to fix the bugs via the regular contribution procedure.

If any error occurs after the release process, first check out a new hotfix branch from the `main` branch,
make a minor version release following the semantic versioning, for example, `releasing/0.1.1`.
make a patch version release following the semantic versioning, for example, `releasing/0.1.1`.
Make sure the `releasing/0.1.1` is merged back into both `dev` and `main` and all the test pipelines succeed.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

# To build with a different base image
# please run `docker build` using the `--build-arg PYTORCH_IMAGE=...` flag.
ARG PYTORCH_IMAGE=nvcr.io/nvidia/pytorch:22.06-py3
ARG PYTORCH_IMAGE=nvcr.io/nvidia/pytorch:22.07-py3
FROM ${PYTORCH_IMAGE}

LABEL maintainer="monai.contact@gmail.com"
Expand Down
Binary file added docs/images/blend_images.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@ fire
jsonschema
pynrrd
pydicom
h5py
1 change: 1 addition & 0 deletions docs/source/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ API Reference
:maxdepth: 1

apps
fl
bundle
transforms
losses
Expand Down
26 changes: 26 additions & 0 deletions docs/source/apps.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ Applications
.. autoclass:: DecathlonDataset
:members:

.. autoclass:: TciaDataset
:members:

.. autoclass:: CrossValidation
:members:

Expand Down Expand Up @@ -184,3 +187,26 @@ Applications
:members:
.. automodule:: monai.apps.detection.metrics.matching
:members:

`Reconstruction`
----------------

`ConvertToTensorComplex`
~~~~~~~~~~~~~~~~~~~~~~~~
.. autofunction:: monai.apps.reconstruction.complex_utils.convert_to_tensor_complex

`ComplexAbs`
~~~~~~~~~~~~
.. autofunction:: monai.apps.reconstruction.complex_utils.complex_abs

`RootSumOfSquares`
~~~~~~~~~~~~~~~~~~
.. autofunction:: monai.apps.reconstruction.mri_utils.root_sum_of_squares

`ComplexMul`
~~~~~~~~~~~~
.. autofunction:: monai.apps.reconstruction.complex_utils.complex_mul

`ComplexConj`
~~~~~~~~~~~~~
.. autofunction:: monai.apps.reconstruction.complex_utils.complex_conj
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"engines",
"data",
"apps",
"fl",
"bundle",
"config",
"handlers",
Expand Down
18 changes: 10 additions & 8 deletions docs/source/config_syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Content:
- [`@` to reference Python objects in configurations](#to-reference-python-objects-in-configurations)
- [`$` to evaluate as Python expressions](#to-evaluate-as-python-expressions)
- [`%` to textually replace configuration elements](#to-textually-replace-configuration-elements)
- [`_target_` (`_disabled_` and `_requires_`) to instantiate a Python object](#instantiate-a-python-object)
- [`_target_` (`_disabled_`, `_desc_`, and `_requires_`) to instantiate a Python object](#instantiate-a-python-object)
- [The command line interface](#the-command-line-interface)
- [Recommendations](#recommendations)

Expand Down Expand Up @@ -67,7 +67,7 @@ or additionally, tune the input parameters then instantiate the component:
BasicUNet features: (32, 32, 32, 64, 64, 64).
```

For more details on the `ConfigParser` API, please see https://docs.monai.io/en/latest/bundle.html#config-parser.
For more details on the `ConfigParser` API, please see [`monai.bundle.ConfigParser`](https://docs.monai.io/en/latest/bundle.html#config-parser).

## Syntax examples explained

Expand Down Expand Up @@ -141,17 +141,19 @@ This dictionary will be instantiated as a Pytorch object at runtime.
{
"component_name": {
"_target_": "my.module.Class",
"_desc_": "this is a customized class which also triggers 'cudnn_opt' reference",
"_requires_": "@cudnn_opt",
"_disabled_": "true"}
}
```

_Description:_ `_requires_` and `_disabled_` are optional keys.
`_requires_` specifies references (string starts with `@`) or
Python expression that will be evaluated/instantiated before `_target_` object is instantiated.
It is useful when the component does not explicitly depend on the other ConfigItems via
its arguments, but requires the dependencies to be instantiated/evaluated beforehand.
`_disabled_` specifies a flag to indicate whether to skip the instantiation.
_Description:_ `_requires_`, `_disabled_`, and `_desc_` are optional keys.
- `_requires_` specifies references (string starts with `@`) or
Python expression that will be evaluated/instantiated before `_target_` object is instantiated.
It is useful when the component does not explicitly depend on the other ConfigItems via
its arguments, but requires the dependencies to be instantiated/evaluated beforehand.
- `_disabled_` specifies a flag to indicate whether to skip the instantiation.
- `_desc_` can be used for providing free text descriptions.

## The command line interface

Expand Down
Loading