You can define metric_kwargs in the Trainer to pass kwargs to an evaluate metric, but now you can also use those kwargs to pass them to your own custom metric callable. See #454 for the feature request.
Will be merged into v1.0.0-pre, which will be merged into main this week & released.
Hello!
Pull Request overview
metric_kwargs
to custom metric callableDetails
You can define
metric_kwargs
in the Trainer to pass kwargs to anevaluate
metric, but now you can also use those kwargs to pass them to your own custommetric
callable. See #454 for the feature request.Will be merged into v1.0.0-pre, which will be merged into main this week & released.
cc: @psorianom Thanks for the feature request :)