InsightFace_Pytorch
InsightFace_Pytorch copied to clipboard
No such file or directory: 'data/facebank/facebank.pth'
When I try to run the 3.3, python infer_on_video.py. I encounter the above problem. Anyone can help me out?
in the "face_verify.py" , you firstly should make the arg.update == true , then run this py , in the facebank you will see facebank.pth , after then , reset the arg.update == false , go on this code
also you can check on this
Thank you very much. I have solved it. Thanks
@ruiming46zrm I got the same error while running "face_verify.py". I tried as you said still got the same error. can you help me to solve this!
This issue still exists. Can you please help me solve this. Moreover, @ruiming46zrm can you please elaborate on the method.
Thank you very much. I have solved it. Thanks
how do you solve it? @YueXiNPU
in the "face_verify.py" , you firstly should make the arg.update == true , then run this py , in the facebank you will see facebank.pth , after then , reset the arg.update == false , go on this code
how do you solve it?
add dafault=True #16 parser.add_argument("-u", "--update", help="whether perform update the facebank",action="store_true",default=True)
Thank you very much. I have solved it. Thanks
could you share how do you solve this problem? I tried the method but it doesn't work, and one new problem occurs like this: File "/media/luminous/6400d1cb-edcd-4607-817b-1b69856b6144/jzf/InsightFace_Pytorch-master/mtcnn.py", line 92, in detect_faces keep = nms(bounding_boxes[:, 0:5], nms_thresholds[0]) TypeError: 'NoneType' object is not subscriptable
@YueXiNPU @ruiming46zrm
utils.py: #65 add str(): torch.save(embeddings, str(conf.facebank_path/'facebank.pth')) then: python face_verify.py --update
@bixiwen Hi, when I met the error No such file or directory: 'data/facebank/facebank.pth', I ran python face_verify.py --update, I met another problem as follows. Do you know the reason?
ir_se_50 model generated
learner loaded
Traceback (most recent call last):
File "face_verify.py", line 36, in
Thank you very much. I have solved it. Thanks
Hi, how do you solve it?