Skip to content
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

ff++dataset structure issue #55

Open
Mrmao233 opened this issue Jul 24, 2024 · 1 comment
Open

ff++dataset structure issue #55

Mrmao233 opened this issue Jul 24, 2024 · 1 comment

Comments

@Mrmao233
Copy link

The preprocessing process seems to have some problems with the ff++ dataset. The structure of the ff++ dataset I downloaded from the official script is as follows, but there will be various problems following the steps in readme. (I wanted to test the faceswap subdataset first, so I put the other datasets in the NOTNOW folder first)
1
Next, I type the commandpython detect_faces.py --dataset FACEFORENSICS --data_path ../datasets/ff++.Then The script started extracting faces and saved the json file in the boxes folder.(Since I only used the sub-dataset, I only needed to extract 2000 video files in total, and the numbers of generated json files were also 2,000)
After that, I used the following command to extract faces.python extract_crops.py --data_path ../datasets/ff++ --output_path ../train_dataset/ --dataset FACEFORENSICS
In the start, the script reported the following error.
image
So I went to modify the utils.py file.I deleted the extra "c23", although I don't know if it was the right thing to do
image
Then the script starts to run, but it keeps running with the error shown below, and also produces the structure in my output folder (I don't know if this is normal, because it seems different from the structure in readme, do I have to build the structure in readme myself?)
image
I came to the output folder, and this number doesn't seem right.
image

@Mrmao233
Copy link
Author

Your method has greatly helped my research, so I would be very grateful if you could spare some time to help me solve the problem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant