Download preprocessing/config.yaml from DeepfakeGenome/DeepfakeGenome_Codebase: direct link, hf CLI and curl.
- Browser
- Download file 2.45 kB
-
https://huggingface.co/DeepfakeGenome/DeepfakeGenome_Codebase/resolve/main/preprocessing/config.yaml
- Command line
-
hf download hf://DeepfakeGenome/DeepfakeGenome_Codebase/preprocessing/config.yaml
-
curl -L -o config.yaml https://huggingface.co/DeepfakeGenome/DeepfakeGenome_Codebase/resolve/main/preprocessing/config.yaml
2.45 kB
| preprocess: | |
| dataset_name: # the name of dataset | |
| choices: ['FaceForensics++','Celeb-DF-v1', 'Celeb-DF-v2', 'DFDCP', 'DFDC', 'DeeperForensics-1.0','UADFV'] | |
| default: 'FaceForensics++' | |
| dataset_root_path: # the root path to the dataset | |
| type: str | |
| default: 'F:\' | |
| comp: # the compression level of videos, only in the dataset of FaceForensics++. | |
| choices: ['raw', 'c23', 'c40'] | |
| default: 'c23' | |
| mode: # based on the numbers of frame or skip the specific stride of frames. | |
| choices: ['fixed_num_frames', 'fixed_stride'] | |
| default: 'fixed_num_frames' | |
| stride: # when 'mode' is 'fixed_stride', 'stride' is the number of frames to skip between each frame extracted. | |
| type: int | |
| default: 10 | |
| num_frames: # when 'mode' is 'fixed_num_frames', 'num_frames' is the number of frames to extract from each video. | |
| type: int | |
| default: 32 | |
| rearrange: | |
| dataset_name: # the name of dataset | |
| choices: ['FaceForensics++', 'DeepFakeDetection', 'Celeb-DF-v1', 'Celeb-DF-v2','DFDCP', 'DFDC', 'DeeperForensics-1.0','UADFV','FaceShifter'] | |
| default: 'FaceForensics++' | |
| dataset_root_path: # the root path to the dataset | |
| type: str | |
| default: '' | |
| output_file_path: # the json path to the dataset | |
| type: str | |
| default: '../preprocessing/dataset_json_v6' | |
| comp: # the compression level of videos, only in the dataset of FaceForensics++. | |
| choices: ['raw', 'c23', 'c40'] | |
| default: 'c23' | |
| perturbation: # Extensive real-world perturbations are applied to DeeperForensics-1.0 dataset | |
| choices: ['end_to_end','end_to_end_level_1','end_to_end_level_2','end_to_end_level_3','end_to_end_level_4', | |
| 'end_to_end_level_5','end_to_end_mix_2_distortions','end_to_end_mix_3_distortions', | |
| 'end_to_end_mix_4_distortions','end_to_end_random_level','reenact_postprocess'] | |
| default: 'end_to_end' | |
| to_lmdb: | |
| dataset_name: # the name of dataset | |
| choices: ['FaceForensics++', 'DeepFakeDetection', 'Celeb-DF-v1', 'Celeb-DF-v2','DFDCP', 'DFDC', 'DeeperForensics-1.0','UADFV','FaceShifter'] | |
| default: 'FaceForensics++' | |
| dataset_root_path: # the root path to the dataset | |
| type: str | |
| default: './datasets_v2' | |
| output_lmdb_dir: # the json path to the dataset | |
| type: str | |
| default: './datasets_lmdbs' | |
| comp: # the compression level of videos, only in the dataset of FaceForensics++. | |
| choices: ['raw', 'c23', 'c40'] | |
| default: 'c23' |