You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
remove deprecated functionality
Part of #8421
### Description
Removed Functionality:
- metrics: Removed `compute_percent_hausdorff_distance`. Use
`compute_hausdorff_distance` with the `percentile` argument instead.
- bundle: Removed `net_name`, `net_kwargs`, and `return_state_dict`
arguments from `load()`. Use the `model` argument for network
instantiation.
- bundle: Removed `workflow` argument from `BundleWorkflow` and
`ConfigWorkflow`. Use `workflow_type` instead.
- networks: Removed `img_size` argument from `SwinUNETR`. Input size
checks are now performed during `forward()`.
Default Value Changes:
- `GeneralizedDiceScore`: Changed default `reduction` from `MEAN_BATCH`
to `MEAN`.
- `CropForeground` / `CropForegroundd`: Changed default `allow_smaller`
from `True` to `False`.
- `get_mask_edges`: Changed default `always_return_as_numpy` from `True`
to `False`.
- `generate_spatial_bounding_box`: Changed default `allow_smaller` from
`True` to `False`.
### 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: YunLiu <55491388+KumoLiu@users.noreply.github.com>
Signed-off-by: monai-bot <monai.miccai2019@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: monai-bot <monai.miccai2019@gmail.com>
0 commit comments