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

Missing code for generating FF++dataset mask #13

Open
CJL0114 opened this issue Jan 7, 2024 · 2 comments
Open

Missing code for generating FF++dataset mask #13

CJL0114 opened this issue Jan 7, 2024 · 2 comments

Comments

@CJL0114
Copy link

CJL0114 commented Jan 7, 2024

I trained a model using the I2G dataset, but the AUC was very low. The paper states that it is necessary to mix the FF++dataset with the I2G dataset for training.
The paper states that”The first type is the deepfake video frame from the existing deepfake datasets, for which we find the corresponding real video frame and compute the structural dissimilarity (DSSIM) [60] between them. The mask M is then generated by taking a Gaussian blur of DSSIM followed by thresholding.“
However, it seems that this part of the code is not provided in the paper, resulting in the FF+dataset not having a mask. Can you provide guidance.

@jtchen0528
Copy link
Owner

The Gaussian blur may be found here. The way I'm finding the faces (DSSIM) is using a face detector. You may try DSSIM.

Hope this helps.

@CJL0114
Copy link
Author

CJL0114 commented Jan 8, 2024

高斯模糊可以在这里找到。我寻找面部(DSSIM)的方法是使用面部检测器。您可以尝试一下DSSIM。

希望这可以帮助。
Thank you very much!I will continue to complete according to your guidance. If I encounter any problems, I will contact you via email. Thank you for taking the time out of your busy schedule to provide me with careful and helpful guidance.

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

2 participants