deepinsight / insightface

State-of-the-art 2D and 3D Face Analysis Project
https://insightface.ai
22.84k stars 5.35k forks source link

ValueError: operands could not be broadcast together with shapes (19200,) (12800,) #2042

Open axi986 opened 2 years ago

axi986 commented 2 years ago

运行scrdf报错 Traceback (most recent call last): File "D:/yolo/insightface-master/detection/scrfd/tools/scrfd.py", line 318, in bboxes, kpss = detector.detect(img, 0.5, input_size = (640, 640)) File "D:/yolo/insightface-master/detection/scrfd/tools/scrfd.py", line 225, in detect scores_list, bboxes_list, kpss_list = self.forward(det_img, thresh) File "D:/yolo/insightface-master/detection/scrfd/tools/scrfd.py", line 195, in forward bboxes = distance2bbox(anchor_centers, bbox_preds) File "D:/yolo/insightface-master/detection/scrfd/tools/scrfd.py", line 38, in distance2bbox x1 = points[:, 0] - distance[:, 0] ValueError: operands could not be broadcast together with shapes (19200,) (12800,)

usmancheema89 commented 2 years ago

similar issue when using insightface at same point.

Rakeshkumar-7 commented 7 months ago

I'm have the same issue with this line