forked from open-mmlab/mmdetection
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor dense_head and speedup (open-mmlab#6268)
* update get_bboxes * fix decode error * speedup delta2bbox * update others model * fix ms_test * fix unit test * fix ms test * fix yolox error and paa error * fix lint * speedup distance2bbox * fix ci error of dtype * fix docsstr * fix type * fix aug type * rename variable * fix comments * fix type * replace spare with priors * fix rpn * fix comment * fix comment * fix comment
- Loading branch information
1 parent
09e71ff
commit a715478
Showing
20 changed files
with
629 additions
and
237 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
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,11 +1,13 @@ | ||
# Copyright (c) OpenMMLab. All rights reserved. | ||
from .dist_utils import (DistOptimizerHook, all_reduce_dict, allreduce_grads, | ||
reduce_mean) | ||
from .misc import (center_of_mass, flip_tensor, generate_coordinate, | ||
mask2ndarray, multi_apply, select_single_mlvl, unmap) | ||
from .misc import (center_of_mass, filter_scores_and_topk, flip_tensor, | ||
generate_coordinate, mask2ndarray, multi_apply, | ||
select_single_mlvl, unmap) | ||
|
||
__all__ = [ | ||
'allreduce_grads', 'DistOptimizerHook', 'reduce_mean', 'multi_apply', | ||
'unmap', 'mask2ndarray', 'flip_tensor', 'all_reduce_dict', | ||
'center_of_mass', 'generate_coordinate', 'select_single_mlvl' | ||
'center_of_mass', 'generate_coordinate', 'select_single_mlvl', | ||
'filter_scores_and_topk' | ||
] |
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.