Code Monkey home page Code Monkey logo

Comments (5)

AlphaNext avatar AlphaNext commented on May 27, 2024 1

Hi @Ken-97 , I use the following version and solve this error. Hope this could help you.

 mmcv-full == v1.3.14
 mmdetection == v2.17.0

from k-net.

TonightGo avatar TonightGo commented on May 27, 2024

以下是我的处理方式:mmdet中是有这个MaskPseudoSampler的,而且一模一样,你可以把config中的'my_mmdet.knet.det.mask_pseudo_sampler'注释掉,mask_hungarian_assigner中的函数,在mmdet中也存在,但接口有些差异,改下mask_hungarian_assigner函数名,并且改掉相应引用处。

from k-net.

bxiang233 avatar bxiang233 commented on May 27, 2024

以下是我的处理方式:mmdet中是有这个MaskPseudoSampler的,而且一模一样,你可以把config中的'my_mmdet.knet.det.mask_pseudo_sampler'注释掉,mask_hungarian_assigner中的函数,在mmdet中也存在,但接口有些差异,改下mask_hungarian_assigner函数名,并且改掉相应引用处。

请问可以具体讲一下:“mask_hungarian_assigner中的函数,在mmdet中也存在,但接口有些差异,改下mask_hungarian_assigner函数名,并且改掉相应引用处。”
这里是怎么改的吗?谢谢!

from k-net.

star379814385 avatar star379814385 commented on May 27, 2024

@bxiang233 register_module有个参数是force,你可以将其设置为True

from k-net.

natwille1 avatar natwille1 commented on May 27, 2024

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)
270 for name in module_name:
271 if not force and name in self._module_dict:
--> 272 raise KeyError(f'{name} is already registered '
273 f'in {self.name}')
274 self._module_dict[name] = module

KeyError: 'MaskPseudoSampler is already registered in bbox_sampler'

from k-net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.