davide-coccomini/Combining-EfficientNet-and-Vision-Transformers-for-Video-Deepfake-Detection

no faces detected when run the detect_faces.py

Hezhexi2002 opened this issue · 2 comments

@davide-coccomini Hi,sorry to bother you here,but I meet a problem which shown below in the screenshot:
image
there is no faces detected in the DFDC dataset even when I set the threshold of MTCNN very low,and here is the structure of my data:
image
as you can see,I etracted part of the whole DFDC dataset there because I haven't downloaded all of them yet,However,I checked the code in detect_faces.py and found that the script will traverse the directory under dfdc and then read the video from the sub-directory.so
I was confused why it can't detected any faces from the video,so is there something wrong with my data_path?hope you can give me some advice!:-)

@davide-coccomini Hi,sorry to bother you here,but I meet a problem which shown below in the screenshot: image there is no faces detected in the DFDC dataset even when I set the threshold of MTCNN very low,and here is the structure of my data: image as you can see,I etracted part of the whole DFDC dataset there because I haven't downloaded all of them yet,However,I checked the code in detect_faces.py and found that the script will traverse the directory under dfdc and then read the video from the sub-directory.so I was confused why it can't detected any faces from the video,so is there something wrong with my data_path?hope you can give me some advice!:-)

Update:I changed the data_path of detect_faces.py into the directory of the dfdc video and try again,it seems like the model detected some faces and generate a jsom file in the box folder but then the process is killed shown in the screenshot below:
image
so I wonder if it is due to the memory limit I set to my WSL2:
image
I will change it to 8GB and see if it works,But I would still like to get some advice from you!:-)

@davide-coccomini Hi,I'm very glad to tell you that the detect_faces.py works well after I increase the memory limit up to 8GB:
image
I will close this issue afterwards