-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'MaskPseudoSampler is already registered in bbox_sampler' #27
Comments
Hi @Ken-97 , I use the following version and solve this error. Hope this could help you.
|
以下是我的处理方式:mmdet中是有这个MaskPseudoSampler的,而且一模一样,你可以把config中的'my_mmdet.knet.det.mask_pseudo_sampler'注释掉,mask_hungarian_assigner中的函数,在mmdet中也存在,但接口有些差异,改下mask_hungarian_assigner函数名,并且改掉相应引用处。 |
请问可以具体讲一下:“mask_hungarian_assigner中的函数,在mmdet中也存在,但接口有些差异,改下mask_hungarian_assigner函数名,并且改掉相应引用处。” |
@bxiang233 register_module有个参数是force,你可以将其设置为True |
I ran into the same issue, any update on this? File /anaconda/envs/or_cleaning/lib/python3.8/site-packages/mmcv/utils/registry.py:272, in Registry._register_module(self, module, module_name, force) KeyError: 'MaskPseudoSampler is already registered in bbox_sampler' |
when I tried to reproduce this model, I came up with this error after I ran
PYTHONPATH='./':$PYTHONPATH mim train mmdet ./K-Net/configs/det/knet/knet_s3_r50_fpn_1x_coco.py --work-dir=./K-Net/working_directory
is there anything wrong about my command or the version of mmcv?
The text was updated successfully, but these errors were encountered: