You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
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.
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
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?)
I came to the output folder, and this number doesn't seem right.
The text was updated successfully, but these errors were encountered:
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](https://private-user-images.githubusercontent.com/55182469/351688943-5d7b2cfc-09eb-48bf-9177-df07ff994889.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5NDA1MjEsIm5iZiI6MTcyNTk0MDIyMSwicGF0aCI6Ii81NTE4MjQ2OS8zNTE2ODg5NDMtNWQ3YjJjZmMtMDllYi00OGJmLTkxNzctZGYwN2ZmOTk0ODg5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEwVDAzNTAyMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYyYzU4OTY5ZWVmNzczZDJmN2M1MmZiZjdlYTdiYThmMTM1MWUwODRiNjAzNTVkNmRlNTc5MTgyN2E5MzliN2UmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.wj70GR13n8vbwoQdy3XW6om71raE3kjgebRm5gku6Gw)
![image](https://private-user-images.githubusercontent.com/55182469/351691408-de586e52-4732-41cb-b746-c6a68dbed738.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5NDA1MjEsIm5iZiI6MTcyNTk0MDIyMSwicGF0aCI6Ii81NTE4MjQ2OS8zNTE2OTE0MDgtZGU1ODZlNTItNDczMi00MWNiLWI3NDYtYzZhNjhkYmVkNzM4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEwVDAzNTAyMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY2OGM0Yzk1YWVmZDNiMDBkOTA5Mjc2MDFiMzgzNzJhZTk1YjBkM2FhODQzODJjMjFlNzEwNTJiYTRjZjc4MjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.QQ0phPRfR_pX6WmmbRRm2sWdtr9eT_xIamDHuKpuxrQ)
![image](https://private-user-images.githubusercontent.com/55182469/351691660-ba49f6e5-2881-4c84-b447-2de6702b4ade.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5NDA1MjEsIm5iZiI6MTcyNTk0MDIyMSwicGF0aCI6Ii81NTE4MjQ2OS8zNTE2OTE2NjAtYmE0OWY2ZTUtMjg4MS00Yzg0LWI0NDctMmRlNjcwMmI0YWRlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEwVDAzNTAyMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJjZmNkMWFhNGJlMWQwNDQ0MDJjYzNiMDQ5YmMzYTFiYzdlN2ZhOTFlMGU5ZTIwYTE5YzAwNmU0MDJjNTBlM2EmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ucTAAf2sKAvm8fENsJDYkBET7hRfLzZFkOt9XFrvb4o)
![image](https://private-user-images.githubusercontent.com/55182469/351692671-6dc36903-7480-447a-9c9c-f1413f2b3899.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5NDA1MjEsIm5iZiI6MTcyNTk0MDIyMSwicGF0aCI6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MDAmWC1BbXotU2lnbmF0dXJlPWRhODM1OGNmMWUxNzVmODE4NmZjZTRhMmJlMWM0YWJiNjQzNTBmYTdhY2MzOTBkNTIxMGViMzVjYzhiYzdhYmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.V9YRVbjS0HTj8nLs063DKWZCZeIy1sOxPJ2zgpceVx0)
Next, I type the command
python 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.
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
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?)
I came to the output folder, and this number doesn't seem right.
The text was updated successfully, but these errors were encountered: