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
Is your feature request related to a problem? Please describe.
the current label mapping transform raises an error when it's configured to do identity mapping:
### Description
- adding pytorch backend support for `MapLabelValue`
- fixes#6869
### 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).
- [x] New tests added to cover the changes.
- [ ] Integration tests passed locally by running `./runtests.sh -f -u
--net --coverage`.
- [x] Quick tests passed locally by running `./runtests.sh --quick
--unittests --disttests`.
- [x] In-line docstrings updated.
- [x] Documentation updated, tested `make html` command in the `docs/`
folder.
Signed-off-by: Wenqi Li <[email protected]>
Is your feature request related to a problem? Please describe.
the current label mapping transform raises an error when it's configured to do identity mapping:
MONAI/monai/transforms/utility/array.py
Lines 1222 to 1223 in 0247672
this logic is too restrictive when building flexible mapping pipelines, would be great to remove the checking.
The text was updated successfully, but these errors were encountered: