5740 metrics reloaded support#5741
Conversation
Signed-off-by: Mikael Brudfors <[email protected]>
Signed-off-by: Mikael Brudfors <[email protected]>
Signed-off-by: Mikael Brudfors <[email protected]>
Signed-off-by: Mikael Brudfors <[email protected]>
…nto 5740-metrics-reloaded-support
|
/black |
Signed-off-by: Mikael Brudfors <[email protected]>
Sounds good! This PR is limited to supporting the semantic segmentation metrics from MetricsReloaded and for that I cannot, for now, think of any improvements on the MONAI side. This might change when we integrate the instance segmentation and object detection metrics, later down the line. On the MetricsReloaded side, there are still some improvements that can be made, but I don't think they would require changing the API that MONAI uses. |
Signed-off-by: Mikael Brudfors <[email protected]>
Signed-off-by: Mikael Brudfors <[email protected]>
Signed-off-by: Mikael Brudfors <[email protected]>
Signed-off-by: Mikael Brudfors <[email protected]>
Signed-off-by: Mikael Brudfors <[email protected]>
…nto 5740-metrics-reloaded-support
Signed-off-by: monai-bot <[email protected]>
Signed-off-by: monai-bot <[email protected]>
|
/build |
wyli
left a comment
There was a problem hiding this comment.
We'll add the ignite wrapper in a separate pr
|
/build |
Signed-off-by: Mikael Brudfors [email protected]
part of #5740
Description
Makes the binary and categorical metrics from MetricsReloaded available in MONAI via a wrapper module (
monai/metrics/wrapper.py).This module allows to use the MetricsReloaded metrics as, e.g.:
Tests of all metrics are in
tests/test_metrics_reloaded.py.Note that MetricsReloaded is an optional dependency of MONAI; so in order to use the wrapper, MONAI needs to be installed with:
pip install '.[metricsreloaded]'Types of changes
./runtests.sh -f -u --net --coverage../runtests.sh --quick --unittests --disttests.make htmlcommand in thedocs/folder.