Traceback (most recent call last):


 "detect.py", line 188, in <module>

detect()


 "detect.py", line 69, in detect

_ = model(img.half() if half else img) if device.type != 'cpu' else None
# run once


 "/opt/chenweiwen/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 727, in _call_impl

result = self.forward(*input, **kwargs)


 "/opt/chenweiwen/sec-model-code/yolov5/models/yolo.py", line 112, in forward

return self.forward_once(x, profile)
# single-scale inference, train


 "/opt/chenweiwen/sec-model-code/yolov5/models/yolo.py", line 132, in forward_once

x = m(x)
# run


 "/opt/chenweiwen/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 727, in _call_impl

result = self.forward(*input, **kwargs)


 "/opt/chenweiwen/sec-model-code/yolov5/models/common.py", line 88, in forward

return self.conv(torch.cat([x[..., ::2, ::2], x[..., 1::2, ::2], x[..., ::2, 1::2], x[..., 1::2, 1::2]], 1))


 "/opt/chenweiwen/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 727, in _call_impl

result = self.forward(*input, **kwargs)


 "/opt/chenweiwen/sec-model-code/yolov5/models/common.py", line 32, in fuseforward

return self.act(self.conv(x))


 "/opt/chenweiwen/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 727, in _call_impl

result = self.forward(*input, **kwargs)


 "/opt/chenweiwen/anaconda3/lib/python3.7/site-packages/torch/nn/modules/activation.py", line 438, in forward

return F.hardswish(input, self.inplace)


 "/opt/chenweiwen/anaconda3/lib/python3.7/site-packages/torch/nn/modules/module.py", line 779, in __getattr__

type(self).__name__, name))
torch.nn.modules.module.ModuleAttributeError: 'Hardswish' object has no attribute 'inplace'

Traceback (most recent call last):


 "agw\FoldPanelBar.py", line 211, in OnFoldPanelBarDrag

if event.GetDragStatus() == wx.SASH_STATUS_OUT_OF_RANGE:
AttributeError: 'module' object has no attribute 'SASH_STATUS_OUT_OF_RANGE'
