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

i try to run verify.py - u to create backbacf and name.py (with low quality images ) #195

Open
dalyelloumi07 opened this issue Feb 15, 2023 · 1 comment

Comments

@dalyelloumi07
Copy link

No description provided.

@dalyelloumi07 dalyelloumi07 changed the title i try to run verify.py - u to create backbacf and name.py (with low quality images ) i try to run verify.py - u to create backbacf and name.py (with low quality images ) File "face_verify.py", line 37, in <module> targets, names = prepare_facebank(conf, learner.model, mtcnn, tta = args.tta) File "/content/drive/MyDrive/working/InsightFace_Pytorch/utils.py", line 49, in prepare_facebank img = mtcnn.align(img) File "/content/drive/MyDrive/working/InsightFace_Pytorch/mtcnn.py", line 23, in align _, landmarks = self.detect_faces(img) File "/content/drive/MyDrive/working/InsightFace_Pytorch/mtcnn.py", line 92, in detect_faces bounding_boxes = np.vstack(bounding_boxes) File "<__array_function__ internals>", line 5, in vstack File "/usr/local/lib/python3.8/dist-packages/numpy/core/shape_base.py", line 282, in vstack return _nx.concatenate(arrs, 0) File "<__array_function__ internals>", line 5, in concatenate ValueError: need at least one array to concatenate Feb 15, 2023
@dalyelloumi07 dalyelloumi07 changed the title i try to run verify.py - u to create backbacf and name.py (with low quality images ) File "face_verify.py", line 37, in <module> targets, names = prepare_facebank(conf, learner.model, mtcnn, tta = args.tta) File "/content/drive/MyDrive/working/InsightFace_Pytorch/utils.py", line 49, in prepare_facebank img = mtcnn.align(img) File "/content/drive/MyDrive/working/InsightFace_Pytorch/mtcnn.py", line 23, in align _, landmarks = self.detect_faces(img) File "/content/drive/MyDrive/working/InsightFace_Pytorch/mtcnn.py", line 92, in detect_faces bounding_boxes = np.vstack(bounding_boxes) File "<__array_function__ internals>", line 5, in vstack File "/usr/local/lib/python3.8/dist-packages/numpy/core/shape_base.py", line 282, in vstack return _nx.concatenate(arrs, 0) File "<__array_function__ internals>", line 5, in concatenate ValueError: need at least one array to concatenate i try to run verify.py - u to create backbacf and name.py (with low quality images ) Feb 15, 2023
@dalyelloumi07
Copy link
Author

File "face_verify.py", line 37, in
targets, names = prepare_facebank(conf, learner.model, mtcnn, tta = args.tta)
File "/content/drive/MyDrive/working/InsightFace_Pytorch/utils.py", line 49, in prepare_facebank
img = mtcnn.align(img)
File "/content/drive/MyDrive/working/InsightFace_Pytorch/mtcnn.py", line 23, in align
_, landmarks = self.detect_faces(img)
File "/content/drive/MyDrive/working/InsightFace_Pytorch/mtcnn.py", line 92, in detect_faces
bounding_boxes = np.vstack(bounding_boxes)
File "<array_function internals>", line 5, in vstack
File "/usr/local/lib/python3.8/dist-packages/numpy/core/shape_base.py", line 282, in vstack
return _nx.concatenate(arrs, 0)
File "<array_function internals>", line 5, in concatenate
ValueError: need at least one array to concatenate

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

1 participant