Skip to content

Add utility to simplify metric handlers API #2372

@Nic-Ma

Description

@Nic-Ma

Is your feature request related to a problem? Please describe.
Currently, users must set output_transform = lambda output: output["pred"], output["label"] for metrics.
We have received much feedback from users that the lambda function is hard to understand.
Thanks for the discussion with @vfdev-5 in ignite ticket:
pytorch/ignite#2055 (comment)
I will try to add utility to simplify the usage of the metrics with the dictionary.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions