Traceback (most recent call last):


 "main.py", line 214, in <module>

model = Tester(configer)



 "/home/dai/code/semantic_segmentation/9/openseg.pytorch-master/segmentor/tester.py", line 69, in __init__

self._init_model()


 "/home/dai/code/semantic_segmentation/9/openseg.pytorch-master/segmentor/tester.py", line 72, in _init_model

self.seg_net = self.model_manager.semantic_segmentor()


 "/home/dai/code/semantic_segmentation/9/openseg.pytorch-master/lib/models/model_manager.py", line 81, in semantic_segmentor

model = SEG_MODEL_DICT[model_name](self.configer)


 "/home/dai/code/semantic_segmentation/9/openseg.pytorch-master/lib/models/nets/hrnet.py", line 105, in __init__

self.backbone = BackboneSelector(configer).get_backbone()


 "/home/dai/code/semantic_segmentation/9/openseg.pytorch-master/lib/models/backbones/backbone_selector.py", line 34, in get_backbone

model = HRNetBackbone(self.configer)(**params)


 "/home/dai/code/semantic_segmentation/9/openseg.pytorch-master/lib/models/backbones/hrnet/hrnet_backbone.py", line 598, in __call__

bn_momentum=0.1)


 "/home/dai/code/semantic_segmentation/9/openseg.pytorch-master/lib/models/backbones/hrnet/hrnet_backbone.py", line 307, in __init__

self.bn1 = ModuleHelper.BatchNorm2d(bn_type=bn_type)(64, momentum=bn_momentum)
TypeError: 'NoneType' object is not callable

Traceback (most recent call last):


 "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner

response = get_response(request)


 "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 94, in __call__

response = response or self.get_response(request)


 "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 36, in inner

response = response_for_exception(request, exc)


 "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 90, in response_for_exception

response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())


 "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 125, in handle_uncaught_exception

return debug.technical_500_response(request, *exc_info)


 "/usr/local/lib/python3.8/site-packages/django_extensions/management/technical_response.py", line 36, in null_technical_500_response

raise(exc_type, exc_value, tb)
TypeError: exceptions must derive from BaseException
