-
Notifications
You must be signed in to change notification settings - Fork 1.5k
No Post-processing Without Decollate! #2571
Copy link
Copy link
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Describe the bug
MONAI/monai/engines/workflow.py
Lines 167 to 171 in 3edff74
| if decollate: | |
| self._register_decollate() | |
| # postprocessing can only work if `decollate=True` | |
| if postprocessing is not None: | |
| self._register_postprocessing(postprocessing) |
Not all the metrics accepting decollated tensors, for instance ignite.metrics.Accuracy expects individual tensors, so disabling the entire post-processing transformation when decollate=False is limiting and in fact it has broken the pathology pipeline.
Expected behavior
The post-processing being applied regardless of decollate status.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested