-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add mFscore and refactor the metrics return value * fix linting * some docstring and name fix
- Loading branch information
Showing
7 changed files
with
318 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
from .class_names import get_classes, get_palette | ||
from .eval_hooks import DistEvalHook, EvalHook | ||
from .metrics import eval_metrics, mean_dice, mean_iou | ||
from .metrics import eval_metrics, mean_dice, mean_fscore, mean_iou | ||
|
||
__all__ = [ | ||
'EvalHook', 'DistEvalHook', 'mean_dice', 'mean_iou', 'eval_metrics', | ||
'get_classes', 'get_palette' | ||
'EvalHook', 'DistEvalHook', 'mean_dice', 'mean_iou', 'mean_fscore', | ||
'eval_metrics', 'get_classes', 'get_palette' | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
matplotlib | ||
numpy | ||
terminaltables | ||
prettytable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.