-
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.
Support progressive test with fewer memory cost.
- Loading branch information
sennnnn
committed
Jul 16, 2021
1 parent
5097d55
commit f3aaecc
Showing
6 changed files
with
335 additions
and
12 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,9 +1,11 @@ | ||
from .inference import inference_segmentor, init_segmentor, show_result_pyplot | ||
from .test import multi_gpu_test, single_gpu_test | ||
from .test import (multi_gpu_test, progressive_multi_gpu_test, | ||
progressive_single_gpu_test, single_gpu_test) | ||
from .train import get_root_logger, set_random_seed, train_segmentor | ||
|
||
__all__ = [ | ||
'get_root_logger', 'set_random_seed', 'train_segmentor', 'init_segmentor', | ||
'inference_segmentor', 'multi_gpu_test', 'single_gpu_test', | ||
'show_result_pyplot' | ||
'show_result_pyplot', 'progressive_single_gpu_test', | ||
'progressive_multi_gpu_test' | ||
] |
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,8 +1,9 @@ | ||
from .class_names import get_classes, get_palette | ||
from .eval_hooks import DistEvalHook, EvalHook | ||
from .metrics import eval_metrics, mean_dice, mean_fscore, mean_iou | ||
from .metrics import (calculate_metrics, eval_metrics, mean_dice, mean_fscore, | ||
mean_iou) | ||
|
||
__all__ = [ | ||
'EvalHook', 'DistEvalHook', 'mean_dice', 'mean_iou', 'mean_fscore', | ||
'eval_metrics', 'get_classes', 'get_palette' | ||
'eval_metrics', 'get_classes', 'get_palette', 'calculate_metrics' | ||
] |
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.