TreB1eN / InsightFace_Pytorch

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

extremely hight false positive with pretrained model #125

Open Coderx7 opened 4 years ago

Coderx7 commented 4 years ago

Hi, thank you very much for this repo. I cloned your repo and quickly made a facebank with 5 folders each with at least 20 images. However, when I ran the webcam, I noticed its wrongfully detects nearly any random individual as the first 3 classes. Am I missing something here? Should the facebank images have a specific creteria? (they are all face cropped and I resized them to 112x112. only the last directory has images of size 320x240 and I specifically didnt resize it to see if that works with larger than 112x112 images (which it didwith that specific person)) ) I'm clueless here Any help is greatly appreciated . by the way I'm using the defaults and using the iresnet50 downloaded from the onedrive .

ThanhPham1987 commented 4 years ago

Hi @Coderx7 Can you contact to me to solve issue? Skype: quangthanh1987 Best regards, PeterPham

kaustubholpadkar commented 4 years ago

I am facing the same issue. @Coderx7 Did you find any solution to this problem?

Coderx7 commented 4 years ago

@ThanhPham1987 , my bad, I got extremely busy and forgot about this. @kaustubholpadkar the issue is comming from the way, the embedding is calculated and the difference is infered.