-
Notifications
You must be signed in to change notification settings - Fork 16
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
Question about training #4
Comments
When I train the model use FF-FS datasets, the function of 'getitem' of FFdata.py will first resize the input image to 256*256, then the dlib.get_frontal_face_detector() can't find a face rectange area from the image... |
Could U please tell me how to get the Mask documents? |
you can get the mask file from the video accoding to the file directory masks of each. |
Could anybody tell how can I generate mask file?& How json file is like? |
Read this: https://github.com/ondyari/FaceForensics/tree/master/dataset python .\faceforensics_download_v4.py "D:/output_path/"
-d all #
-c c40 # quality {raw, c23, c40}
-t masks # type {videos, **masks**, models}
--server EU2 It will look like this: "The ground-truth forgery mask Mgt is created depending on categories of the input images" if the input image is:
|
Thanks!!! But I have not seen the code of generating adversarial forgery(Maybe it's because of my carelessness). Is the generation of adversarial forgery included in this released codes(repo)? |
1. has anyone meet this warning in the training process? |
It seems I am facing the same question. Have you solved it? Ignoring the resize step seems inappropriate. I would appreciate it if you could help me out. |
@ProgrammingTD i think the code presumes all images are face-cropped already so 256*256 will just resize to fit model input size |
In README.md, the data structure didn't mention the face-cropped step... I tried to resize the input images to 512 * 512, then the dlib.get_frontal_face_detector() could work, but 512 * 512 doesn't match the pretrained XceptionNet. Have you utilized the face-crop methods on FF++ to reproduce this project? Thanks for your comment! |
@phinoo @ProgrammingTD I am facing the same problem (Face detector failed). Have you managed to find a solution? |
according to 4.1 in paper, the author said "we resize the aligned faces to 256 × 256 for all the samples in training and test datasets" so i think @forkbabu is right . we should crop the faces in original videos and masks. Then the detector could work as planned. but i only tried for a small dataset(about 50 videos) |
@ProgrammingTD How did you align the masks? I used dlib to extract and align the faces, but I could not do the same for the masks. |
for each video in FF++, i got the face location parameters from the original video, and use the same parameters in corresponding fake and mask videos to crop them |
Can you share your code? @ProgrammingTD |
Did you solve it? I have the same question as you. Looking forward to your reply. |
in closed issue, the author offers data processing code |
Which code is used to mask data? |
Did you solve it? I have the same question as you. Looking forward to your reply. |
in closed issue 10, the author offers data processing code |
how to do 'image extract processing'? could anyone share the code? |
Have solved it? Can you share the code? |
Anybody have reproduced the training process of the model?
The text was updated successfully, but these errors were encountered: