HongguLiu / Deepfake-Detection

The Pytorch implemention of Deepfake Detection based on Faceforensics++
https://github.com/ondyari/FaceForensics
Apache License 2.0
291 stars 57 forks source link

./data_list/FaceSwap_c0_train.txt && /data_list/FaceSwap_c0_val.txt #10

Open julschoy opened 4 years ago

julschoy commented 4 years ago

May i know where can i find these txt files or how can i create these files? Thank you. :)

HongguLiu commented 4 years ago

You should create the text files according to the storage location of your data.

julschoy commented 4 years ago

does my data need to be labeled or unlabeled?

HongguLiu commented 4 years ago

It must be labeled data. For example, the content of text files is like this: /Deepfakes/c0/images/004_982/0011.png 1 /Origin/c0/images/004/0011.png 0

julschoy commented 4 years ago

Understood. So i will need to either create my own labels or get dataset that is already labeled. Do you have any sources for labeled dataset beside FF's as its taking too long for me to download.

Ghassanee commented 4 years ago

so in the file './data_list/FaceSwap_c0_train.txt' we should add lines like this : '/Deepfakes/c0/images/004_982/0011.png 1' and in '/data_list/FaceSwap_c0_val.txt' we should add lines like this : '/Origin/c0/images/004/0011.png 0'

HongguLiu commented 4 years ago

so in the file './data_list/FaceSwap_c0_train.txt' we should add lines like this : '/Deepfakes/c0/images/004_982/0011.png 1' and in '/data_list/FaceSwap_c0_val.txt' we should add lines like this : '/Origin/c0/images/004/0011.png 0'

Yes, just like this.

Ghassanee commented 4 years ago

so 1 stand for fake and 0 stand for real ,ok got it . Thanks