Skip to content
Discussion options

You must be logged in to vote

Hi, we currently don't support changing the default parameters of TorchMetrics classes from the config file. This is a limitation that we are planning to address in a future release. At this moment, your best option would be to implement a custom metric locally and add it to anomalib.utils.metrics. Your custom metric could inherit from TorchMetrics' FBetaScore and hard-code the value of the beta parameter. It's a bit inconvenient, but it would temporarily address your issue until we add a more advanced TorchMetrics support.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by siebe-hiel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants