TreB1eN / InsightFace_Pytorch

Pytorch0.4.1 codes for InsightFace
MIT License
1.72k stars 418 forks source link

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

Open dalyelloumi07 opened 1 year ago

dalyelloumi07 commented 1 year ago

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/InsightFacePytorch/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