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

TypeError: __init__() got an unexpected keyword argument 'ga_rpn_head'. #3542

Closed
lxg15066629402 opened this issue Aug 12, 2020 · 2 comments
Closed

Comments

@lxg15066629402
Copy link

Traceback (most recent call last):
File "tools/train.py", line 176, in
main()
File "tools/train.py", line 138, in main
cfg.model, train_cfg=cfg.train_cfg, test_cfg=cfg.test_cfg)
File "/dicom/Jone/Dection_mass/mmdet/models/builder.py", line 48, in build_detector
return build(cfg, DETECTORS, dict(train_cfg=train_cfg, test_cfg=test_cfg))
File "/dicom/Jone/Dection_mass/mmdet/models/builder.py", line 20, in build
return build_from_cfg(cfg, registry, default_args)
File "/home/ubuntu/miniconda2/envs/Adam_mmlab2.0/lib/python3.7/site-packages/mmcv-0.5.9-py3.7-linux-x86_64.egg/mmcv/utils/registry.py", line 168, in build_from_cfg
return obj_cls(**args)
TypeError: init() got an unexpected keyword argument 'ga_rpn_head'.

@ZwwWayne
Copy link
Collaborator

What is the version of your mmdetection & mmcv?This seems to be an incompatibility issue.

@lxg15066629402
Copy link
Author

lxg15066629402 commented Aug 12, 2020 via email

@hellock hellock closed this as completed Aug 26, 2020
liuhuiCNN pushed a commit to liuhuiCNN/mmdetection that referenced this issue May 21, 2021
…ab#3542)

This reverts commit 04bfe0a84e7ec27e5c0bdfab76aa779c45fedbe5.
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

3 participants