Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: batched_detect_faces use_origin_size=False #50

Open
azuredsky opened this issue May 24, 2024 · 1 comment
Open

RuntimeError: batched_detect_faces use_origin_size=False #50

azuredsky opened this issue May 24, 2024 · 1 comment

Comments

@azuredsky
Copy link

bboxes = det_net.batched_detect_faces(batch_frames, conf_threshold=0.8, nms_threshold=0.15, use_origin_size=False)

File "python3.10/site-packages/facexlib/detection/retinaface.py", line 320, in batched_detect_faces
frames = frames - self.mean_tensor
RuntimeError: The size of tensor a (4) must match the size of tensor b (3) at non-singleton dimension 1

@woctezuma
Copy link
Contributor

woctezuma commented May 24, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants