Skip to content
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

'PolarMask is not in the models registry' #66

Open
Litao917 opened this issue Aug 30, 2021 · 4 comments
Open

'PolarMask is not in the models registry' #66

Litao917 opened this issue Aug 30, 2021 · 4 comments

Comments

@Litao917
Copy link

Hi @xieenze ,

We followed the installation guide and the action you suggested in issue #32.
But we still met a similar error: 'PolarMask is not in the models registry'.
What is the problem ?

Thanks

@Litao917
Copy link
Author

Log info:

2021-08-30 17:48:00,915 - mmdet - INFO - Distributed training: False /home/arl/anaconda3/envs/open_mmlab/lib/python3.7/site-packages/mmdet/models/builder.py:52: UserWarning: train_cfg and test_cfg is deprecated, please specify them in model 'please specify them in model', UserWarning) Traceback (most recent call last): File "tools/train.py", line 149, in <module> main() File "tools/train.py", line 98, in main cfg.model, train_cfg=cfg.train_cfg, test_cfg=cfg.test_cfg) File "/home/arl/anaconda3/envs/open_mmlab/lib/python3.7/site-packages/mmdet/models/builder.py", line 58, in build_detector cfg, default_args=dict(train_cfg=train_cfg, test_cfg=test_cfg)) File "/home/arl/anaconda3/envs/open_mmlab/lib/python3.7/site-packages/mmcv/utils/registry.py", line 210, in build return self.build_func(*args, **kwargs, registry=self) File "/home/arl/anaconda3/envs/open_mmlab/lib/python3.7/site-packages/mmcv/cnn/builder.py", line 26, in build_model_from_cfg return build_from_cfg(cfg, registry, default_args) File "/home/arl/anaconda3/envs/open_mmlab/lib/python3.7/site-packages/mmcv/utils/registry.py", line 44, in build_from_cfg f'{obj_type} is not in the {registry.name} registry') KeyError: 'PolarMask is not in the models registry'

@whksyjs2021
Copy link

same problem

@GrayinChina
Copy link

+1

@Glaciercowww
Copy link

i need help too,it confusing me a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants