Skip to content

ff++dataset structure issue #55

@maverick4774

Description

@maverick4774

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions