-
Notifications
You must be signed in to change notification settings - Fork 1.5k
OneOf.inverse for the metatensors #5163
Copy link
Copy link
Closed
Labels
Feature requestModule: transformdata transforms for preprocessing and postprocessing.data transforms for preprocessing and postprocessing.
Description
this is a feature request to extend the inverse of OneOf which currently supports only mapping type input:
MONAI/monai/transforms/compose.py
Lines 266 to 267 in ca90628
| if not isinstance(data, Mapping): | |
| raise RuntimeError("Inverse only implemented for Mapping (dictionary) data") |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Feature requestModule: transformdata transforms for preprocessing and postprocessing.data transforms for preprocessing and postprocessing.