Is there a way to register a custom evaluation metric?
Is there a way to register a custom evaluation metric by defining a class? If possible, can you provide an example?
Hi, right now our metric is not managed by register.
Hi @MengzhangLI thank you for the prompt response. How do I come up with a new metric and incorporate it within my train/eval pipeline?
Hi, @ThejanW Please check out this PR: add metric mFscore!
You can add metric you want just like this Fscore, here is change files comparison: https://github.com/open-mmlab/mmsegmentation/commit/e16e0e303bebfd3b8362bc52bac58e27aed8fb52
Hoping it is useful to you. By the way, you can also make a new pull request if you think your metric is important. ;)
Best,
@MengzhangLI this PR helped me understand how it's done. Thanks for pointing out towards the right direction.