diff --git a/mmdet/models/roi_heads/bbox_heads/bbox_head.py b/mmdet/models/roi_heads/bbox_heads/bbox_head.py index 3b2e8aae083..8a18a74c475 100644 --- a/mmdet/models/roi_heads/bbox_heads/bbox_head.py +++ b/mmdet/models/roi_heads/bbox_heads/bbox_head.py @@ -597,7 +597,6 @@ def refine_bboxes(self, sampling_results: Union[List[SamplingResult], list[:obj:`InstanceData`]: Refined bboxes of each image. Example: - >>> # xdoctest: +REQUIRES(module:kwarray) >>> import numpy as np >>> from mmdet.models.task_modules.samplers. ... sampling_result import random_boxes diff --git a/projects/Detic_new/detic/detic_bbox_head.py b/projects/Detic_new/detic/detic_bbox_head.py index 8779494ba13..47fcc717480 100644 --- a/projects/Detic_new/detic/detic_bbox_head.py +++ b/projects/Detic_new/detic/detic_bbox_head.py @@ -337,7 +337,6 @@ def refine_bboxes(self, bbox_results: dict, list[:obj:`InstanceData`]: Refined bboxes of each image. Example: - >>> # xdoctest: +REQUIRES(module:kwarray) >>> import numpy as np >>> from mmdet.models.task_modules.samplers. ... sampling_result import random_boxes diff --git a/requirements/tests.txt b/requirements/tests.txt index 6de5e44f508..72a2c62b33c 100644 --- a/requirements/tests.txt +++ b/requirements/tests.txt @@ -6,8 +6,6 @@ imagecorruptions instaboostfast interrogate isort==4.3.21 -# Note: used for kwarray.group_items, this may be ported to mmcv in the future. -kwarray memory_profiler -e git+https://github.com/open-mmlab/mmtracking@dev-1.x#egg=mmtrack nltk