Open dong03 opened 3 years ago
I'm trying to extract feature for each bbox via roi_extractor in mmdet. Currently, I run
from mmdet.models import build_roi_extractor config_file = '../configs/swin/cascade_mask_rcnn_swin_base_patch4_window7_mstrain_480-800_giou_4conv1f_adamw_3x_coco.py' config = mmcv.Config.fromfile(config_file ) model = build_roi_extractor(config.model)
and get KeyError: 'CascadeRCNN is not in the roi_extractor registry'
KeyError: 'CascadeRCNN is not in the roi_extractor registry'
Note that I've already run python setup.py develop.
python setup.py develop
Is there any other way or something i missed? Thanks
+1
I'm trying to extract feature for each bbox via roi_extractor in mmdet. Currently, I run
and get
KeyError: 'CascadeRCNN is not in the roi_extractor registry'
Note that I've already run
python setup.py develop
.Is there any other way or something i missed? Thanks