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):


 "/Users/Daniel/django/test_simple_history/myapp/tests.py", line 12, in test_historical_manager_works_with_drf

response = self.client.get('/testurl/')


 "/Users/Daniel/venv/test_simple_history/lib/python3.5/site-packages/django/test/client.py", line 529, in get

**extra)


 "/Users/Daniel/venv/test_simple_history/lib/python3.5/site-packages/django/test/client.py", line 333, in get

return self.generic('GET', path, secure=secure, **r)


 "/Users/Daniel/venv/test_simple_history/lib/python3.5/site-packages/django/test/client.py", line 409, in generic

return self.request(**r)


 "/Users/Daniel/venv/test_simple_history/lib/python3.5/site-packages/django/test/client.py", line 494, in request

six.reraise(*exc_info)


 "/Users/Daniel/venv/test_simple_history/lib/python3.5/site-packages/django/utils/six.py", line 686, in reraise

raise value


 "/Users/Daniel/venv/test_simple_history/lib/python3.5/site-packages/django/core/handlers/exception.py", line 42, in inner

response = get_response(request)


 "/Users/Daniel/venv/test_simple_history/lib/python3.5/site-packages/django/core/handlers/base.py", line 187, in _get_response

response = self.process_exception_by_middleware(e, request)


 "/Users/Daniel/venv/test_simple_history/lib/python3.5/site-packages/django/core/handlers/base.py", line 185, in _get_response

response = wrapped_callback(request, *callback_args, **callback_kwargs)


 "/Users/Daniel/venv/test_simple_history/lib/python3.5/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view

return view_func(*args, **kwargs)


 "/Users/Daniel/venv/test_simple_history/lib/python3.5/site-packages/rest_framework/viewsets.py", line 90, in view

return self.dispatch(request, *args, **kwargs)


 "/Users/Daniel/venv/test_simple_history/lib/python3.5/site-packages/rest_framework/views.py", line 489, in dispatch

response = self.handle_exception(exc)


 "/Users/Daniel/venv/test_simple_history/lib/python3.5/site-packages/rest_framework/views.py", line 449, in handle_exception

self.raise_uncaught_exception(exc)


 "/Users/Daniel/venv/test_simple_history/lib/python3.5/site-packages/rest_framework/views.py", line 486, in dispatch

response = handler(request, *args, **kwargs)


 "/Users/Daniel/venv/test_simple_history/lib/python3.5/site-packages/rest_framework/mixins.py", line 48, in list

return Response(serializer.data)


 "/Users/Daniel/venv/test_simple_history/lib/python3.5/site-packages/rest_framework/serializers.py", line 738, in data

ret = super(ListSerializer, self).data


 "/Users/Daniel/venv/test_simple_history/lib/python3.5/site-packages/rest_framework/serializers.py", line 262, in data

self._data = self.to_representation(self.instance)


 "/Users/Daniel/venv/test_simple_history/lib/python3.5/site-packages/rest_framework/serializers.py", line 656, in to_representation

self.child.to_representation(item) for item in iterable


 "/Users/Daniel/venv/test_simple_history/lib/python3.5/site-packages/rest_framework/serializers.py", line 656, in <listcomp>

self.child.to_representation(item) for item in iterable


 "/Users/Daniel/venv/test_simple_history/lib/python3.5/site-packages/rest_framework/serializers.py", line 483, in to_representation

fields = self._readable_fields


 "/Users/Daniel/venv/test_simple_history/lib/python3.5/site-packages/django/utils/functional.py", line 35, in __get__

res = instance.__dict__[self.name] = self.func(instance)


 "/Users/Daniel/venv/test_simple_history/lib/python3.5/site-packages/rest_framework/serializers.py", line 377, in _readable_fields

field for field in self.fields.values()


 "/Users/Daniel/venv/test_simple_history/lib/python3.5/site-packages/rest_framework/serializers.py", line 363, in fields

for key, value in self.get_fields().items():


 "/Users/Daniel/venv/test_simple_history/lib/python3.5/site-packages/rest_framework/serializers.py", line 992, in get_fields

info = model_meta.get_field_info(model)


 "/Users/Daniel/venv/test_simple_history/lib/python3.5/site-packages/rest_framework/utils/model_meta.py", line 35, in get_field_info

opts = model._meta.concrete_model._meta
AttributeError: 'HistoryManager' object has no attribute '_meta'
