Skip to content

No Post-processing Without Decollate! #2571

@bhashemian

Description

@bhashemian

Describe the bug

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.

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions