Traceback (most recent call last):


 "/usr/bin/openrazer-daemon", line 177, in <module>

run()


 "/usr/bin/openrazer-daemon", line 172, in run

logger=logger)
TypeError: __init__() got an unexpected keyword argument 'foreground'

Traceback (most recent call last):


 "test2.py", line 13, in <module>

p = model_inference.predict(img, False)


 "/home/ernestas/.local/lib/python3.8/site-packages/yolact_edge/inference.py", line 388, in predict

preds = self.net(batch, extras=extras)["pred_outs"]


 "/home/ernestas/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 727, in _call_impl

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


 "/home/ernestas/.local/lib/python3.8/site-packages/yolact_edge/yolact.py", line 1798, in forward

outs_wrapper["pred_outs"] = self.detect(pred_outs)


 "/home/ernestas/.local/lib/python3.8/site-packages/yolact_edge/layers/functions/detection.py", line 75, in __call__

result = self.detect(batch_idx, conf_preds, decoded_boxes, mask_data, inst_data)


 "/home/ernestas/.local/lib/python3.8/site-packages/yolact_edge/layers/functions/detection.py", line 107, in detect

boxes, masks, classes, scores = self.traditional_nms(boxes, masks, scores, self.nms_thresh, self.conf_thresh)


 "/home/ernestas/.local/lib/python3.8/site-packages/yolact_edge/layers/functions/detection.py", line 260, in traditional_nms

preds = torch.cat([boxes[conf_mask], cls_scores[:, None]], dim=1).cpu().numpy()
RuntimeError: Sizes of tensors must match except in dimension 2. Got 14 and 4 (The offending index is 0)
