Traceback (most recent call last):


 "tools/train.py", line 176, in <module>

main()


 "tools/train.py", line 138, in main

cfg.model, train_cfg=cfg.train_cfg, test_cfg=cfg.test_cfg)


 "/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))


 "/dicom/Jone/Dection_mass/mmdet/models/builder.py", line 20, in build

return build_from_cfg(cfg, registry, default_args)


 "/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'.
Traceback (most recent call last):


 "/var/jenkins_home/workspace/3610-6MJAZQSTTEPICPG/cryptography/.tox/py27/local/lib/python2.7/site-packages/pip/_internal/basecommand.py", line 228, in main

status = self.run(options, args)


 "/var/jenkins_home/workspace/3610-6MJAZQSTTEPICPG/cryptography/.tox/py27/local/lib/python2.7/site-packages/pip/_internal/commands/install.py", line 291, in run

resolver.resolve(requirement_set)


 "/var/jenkins_home/workspace/3610-6MJAZQSTTEPICPG/cryptography/.tox/py27/local/lib/python2.7/site-packages/pip/_internal/resolve.py", line 103, in resolve

self._resolve_one(requirement_set, req)


 "/var/jenkins_home/workspace/3610-6MJAZQSTTEPICPG/cryptography/.tox/py27/local/lib/python2.7/site-packages/pip/_internal/resolve.py", line 257, in _resolve_one

abstract_dist = self._get_abstract_dist_for(req_to_install)


 "/var/jenkins_home/workspace/3610-6MJAZQSTTEPICPG/cryptography/.tox/py27/local/lib/python2.7/site-packages/pip/_internal/resolve.py", line 210, in _get_abstract_dist_for

self.require_hashes


 "/var/jenkins_home/workspace/3610-6MJAZQSTTEPICPG/cryptography/.tox/py27/local/lib/python2.7/site-packages/pip/_internal/operations/prepare.py", line 243, in prepare_linked_requirement

req.populate_link(finder, upgrade_allowed, require_hashes)


 "/var/jenkins_home/workspace/3610-6MJAZQSTTEPICPG/cryptography/.tox/py27/local/lib/python2.7/site-packages/pip/_internal/req/req_install.py", line 307, in populate_link

self.link = finder.find_requirement(self, upgrade)


 "/var/jenkins_home/workspace/3610-6MJAZQSTTEPICPG/cryptography/.tox/py27/local/lib/python2.7/site-packages/pip/_internal/index.py", line 484, in find_requirement

all_candidates = self.find_all_candidates(req.name)


 "/var/jenkins_home/workspace/3610-6MJAZQSTTEPICPG/cryptography/.tox/py27/local/lib/python2.7/site-packages/pip/_internal/index.py", line 442, in find_all_candidates

for page in self._get_pages(url_locations, project_name):


 "/var/jenkins_home/workspace/3610-6MJAZQSTTEPICPG/cryptography/.tox/py27/local/lib/python2.7/site-packages/pip/_internal/index.py", line 587, in _get_pages

page = self._get_page(location)


 "/var/jenkins_home/workspace/3610-6MJAZQSTTEPICPG/cryptography/.tox/py27/local/lib/python2.7/site-packages/pip/_internal/index.py", line 705, in _get_page

return HTMLPage.get_page(link, session=self.session)


 "/var/jenkins_home/workspace/3610-6MJAZQSTTEPICPG/cryptography/.tox/py27/local/lib/python2.7/site-packages/pip/_internal/index.py", line 814, in get_page

"Cache-Control": "max-age=600",


 "/var/jenkins_home/workspace/3610-6MJAZQSTTEPICPG/cryptography/.tox/py27/local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 521, in get

return self.request('GET', url, **kwargs)


 "/var/jenkins_home/workspace/3610-6MJAZQSTTEPICPG/cryptography/.tox/py27/local/lib/python2.7/site-packages/pip/_internal/download.py", line 397, in request

return super(PipSession, self).request(method, url, *args, **kwargs)


 "/var/jenkins_home/workspace/3610-6MJAZQSTTEPICPG/cryptography/.tox/py27/local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 508, in request

resp = self.send(prep, **send_kwargs)


 "/var/jenkins_home/workspace/3610-6MJAZQSTTEPICPG/cryptography/.tox/py27/local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 618, in send

r = adapter.send(request, **kwargs)


 "/var/jenkins_home/workspace/3610-6MJAZQSTTEPICPG/cryptography/.tox/py27/local/lib/python2.7/site-packages/pip/_vendor/cachecontrol/adapter.py", line 42, in send

cached_response = self.controller.cached_request(request)


 "/var/jenkins_home/workspace/3610-6MJAZQSTTEPICPG/cryptography/.tox/py27/local/lib/python2.7/site-packages/pip/_vendor/cachecontrol/controller.py", line 137, in cached_request

resp = self.serializer.loads(request, cache_data)


 "/var/jenkins_home/workspace/3610-6MJAZQSTTEPICPG/cryptography/.tox/py27/local/lib/python2.7/site-packages/pip/_vendor/cachecontrol/serialize.py", line 98, in loads

return getattr(self, "_loads_v{0}".format(ver))(request, data)


 "/var/jenkins_home/workspace/3610-6MJAZQSTTEPICPG/cryptography/.tox/py27/local/lib/python2.7/site-packages/pip/_vendor/cachecontrol/serialize.py", line 190, in _loads_v4

cached = msgpack.loads(data, encoding='utf-8')


 "/var/jenkins_home/workspace/3610-6MJAZQSTTEPICPG/cryptography/.tox/py27/local/lib/python2.7/site-packages/pip/_vendor/msgpack/fallback.py", line 121, in unpackb

ret = unpacker._unpack()


 "/var/jenkins_home/workspace/3610-6MJAZQSTTEPICPG/cryptography/.tox/py27/local/lib/python2.7/site-packages/pip/_vendor/msgpack/fallback.py", line 600, in _unpack

ret[key] = self._unpack(EX_CONSTRUCT)


 "/var/jenkins_home/workspace/3610-6MJAZQSTTEPICPG/cryptography/.tox/py27/local/lib/python2.7/site-packages/pip/_vendor/msgpack/fallback.py", line 600, in _unpack

ret[key] = self._unpack(EX_CONSTRUCT)


 "/var/jenkins_home/workspace/3610-6MJAZQSTTEPICPG/cryptography/.tox/py27/local/lib/python2.7/site-packages/pip/_vendor/msgpack/fallback.py", line 560, in _unpack

typ, n, obj = self._read_header(execute)


 "/var/jenkins_home/workspace/3610-6MJAZQSTTEPICPG/cryptography/.tox/py27/local/lib/python2.7/site-packages/pip/_vendor/msgpack/fallback.py", line 391, in _read_header

n = struct.unpack_from(">H", self._buffer, self._buff_i)[0]
TypeError: unpack_from() argument 1 must be string or read-only buffer, not bytearray
