Traceback (most recent call last):


 "/home/lab30202/sdb/liuqiang/2019-12-6-ATSS/ATSS-master/tools/test_net.py", line 100, in <module>

main()


 "/home/lab30202/sdb/liuqiang/2019-12-6-ATSS/ATSS-master/tools/test_net.py", line 64, in main

model = build_detection_model(cfg)


 "/home/lab30202/sdb/liuqiang/2019-12-6-ATSS/ATSS-master/atss_core/modeling/detector/detectors.py", line 10, in build_detection_model

return meta_arch(cfg)


 "/home/lab30202/sdb/liuqiang/2019-12-6-ATSS/ATSS-master/atss_core/modeling/detector/generalized_rcnn.py", line 31, in __init__

self.roi_heads = build_roi_heads(cfg, self.backbone.out_channels)


 "/home/lab30202/sdb/liuqiang/2019-12-6-ATSS/ATSS-master/atss_core/modeling/roi_heads/roi_heads.py", line 66, in build_roi_heads

roi_heads.append(("box", build_roi_box_head(cfg, in_channels)))


 "/home/lab30202/sdb/liuqiang/2019-12-6-ATSS/ATSS-master/atss_core/modeling/roi_heads/box_head/box_head.py", line 71, in build_roi_box_head

return ROIBoxHead(cfg, in_channels)


 "/home/lab30202/sdb/liuqiang/2019-12-6-ATSS/ATSS-master/atss_core/modeling/roi_heads/box_head/box_head.py", line 18, in __init__

self.feature_extractor = make_roi_box_feature_extractor(cfg, in_channels)


 "/home/lab30202/sdb/liuqiang/2019-12-6-ATSS/ATSS-master/atss_core/modeling/roi_heads/box_head/roi_box_feature_extractors.py", line 151, in make_roi_box_feature_extractor

return func(cfg, in_channels)


 "/home/lab30202/sdb/liuqiang/2019-12-6-ATSS/ATSS-master/atss_core/modeling/roi_heads/box_head/roi_box_feature_extractors.py", line 36, in __init__

dilation=config.MODEL.RESNETS.RES5_DILATION


 "/home/lab30202/sdb/liuqiang/2019-12-6-ATSS/ATSS-master/atss_core/modeling/backbone/resnet.py", line 194, in __init__

dcn_config=dcn_config


 "/home/lab30202/sdb/liuqiang/2019-12-6-ATSS/ATSS-master/atss_core/modeling/backbone/resnet.py", line 231, in _make_stage

dcn_config=dcn_config


 "/home/lab30202/sdb/liuqiang/2019-12-6-ATSS/ATSS-master/atss_core/modeling/backbone/resnet.py", line 390, in __init__

dcn_config=dcn_config


 "/home/lab30202/sdb/liuqiang/2019-12-6-ATSS/ATSS-master/atss_core/modeling/backbone/resnet.py", line 286, in __init__

with_dcn = dcn_config.get("stage_with_dcn", False)
AttributeError: 'NoneType' object has no attribute 'get'
Traceback (most recent call last):


 "//anaconda/bin/conda", line 5, in <module>

sys.exit(main())


 "//anaconda/lib/python3.5/site-packages/conda/cli/main.py", line 173, in main

args_func(args, p)


 "//anaconda/lib/python3.5/site-packages/conda/cli/main.py", line 180, in args_func

args.func(args, p)


 "//anaconda/lib/python3.5/site-packages/conda/cli/main_update.py", line 48, in execute

install.install(args, parser, 'update')


 "//anaconda/lib/python3.5/site-packages/conda/cli/install.py", line 239, in install

offline=args.offline)


 "//anaconda/lib/python3.5/site-packages/conda/cli/common.py", line 597, in get_index_trap

return get_index(*args, **kwargs)


 "//anaconda/lib/python3.5/site-packages/conda/api.py", line 42, in get_index

unknown=unknown)


 "//anaconda/lib/python3.5/site-packages/conda/utils.py", line 118, in __call__

value = self.func(*args, **kw)


 "//anaconda/lib/python3.5/site-packages/conda/fetch.py", line 259, in fetch_index

repodatas.append((url, future.result()))


 "//anaconda/lib/python3.5/concurrent/futures/_base.py", line 405, in result

return self.__get_result()


 "//anaconda/lib/python3.5/concurrent/futures/_base.py", line 357, in __get_result

raise self._exception


 "//anaconda/lib/python3.5/concurrent/futures/thread.py", line 55, in run

result = self.fn(*self.args, **self.kwargs)


 "//anaconda/lib/python3.5/site-packages/conda/fetch.py", line 65, in func

res = f(*args, **kwargs)


 "//anaconda/lib/python3.5/site-packages/conda/fetch.py", line 100, in fetch_repodata

headers=headers, proxies=session.proxies)


 "//anaconda/lib/python3.5/site-packages/requests/sessions.py", line 501, in get

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


 "//anaconda/lib/python3.5/site-packages/requests/sessions.py", line 488, in request

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


 "//anaconda/lib/python3.5/site-packages/requests/sessions.py", line 609, in send

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


 "//anaconda/lib/python3.5/site-packages/requests/adapters.py", line 423, in send

timeout=timeout


 "//anaconda/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 594, in urlopen

chunked=chunked)


 "//anaconda/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 350, in _make_request

self._validate_conn(conn)


 "//anaconda/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 835, in _validate_conn

conn.connect()


 "//anaconda/lib/python3.5/site-packages/requests/packages/urllib3/connection.py", line 330, in connect

cert = self.sock.getpeercert()


 "//anaconda/lib/python3.5/site-packages/requests/packages/urllib3/contrib/pyopenssl.py", line 324, in getpeercert

'subjectAltName': get_subj_alt_name(x509)


 "//anaconda/lib/python3.5/site-packages/requests/packages/urllib3/contrib/pyopenssl.py", line 171, in get_subj_alt_name

ext = cert.extensions.get_extension_for_class(
AttributeError: 'Extensions' object has no attribute 'get_extension_for_class'
