8000 GitHub - chenboluo/ACMF
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chenboluo/ACMF

Repository files navigation

Attention Consistency Refined Masked Frequency Forgery Representation for Generalizing Face Forgery Detection

Dependencies

  • torch 1.10.0+cu113
  • timm 0.4.12

More details about dependencies are shown in requirements.txt.

Dataset Preparation

Usage

Training & testing

To test the model in the Celeb-DF in FAC stage, run the following script in your console. The model will start training and return the AUC at each epoch.

python test-cele.py 

To test the model in the WDF in FAC stage, run the following script in your console. The model will start training and return the AUC at each epoch.

python test-wdf.py 

Pre-trained models

You can load the pre-trained model in test files. You can download the pre-trained model from here. https://pan.baidu.com/s/1sULCnA-5WVtGHtfCjc9_PQ key:ozcc or https://drive.google.com/file/d/1T3bNEJwsxLVlU6R6bZKWG7weMW8jvaKl/view?usp=drive_link, https://drive.google.com/file/d/1l1ZRTjT7X4QlprTCBVhUjJJsTtmbk9zI/view?usp=drive_link

Reference

@article{liu2023attention,
  title={Attention Consistency Refined Masked Frequency Forgery Representation for Generalizing Face Forgery Detection},
  author={Liu, Decheng and Chen, Tao and Peng, Chunlei and Wang, Nannan and Hu, Ruimin and Gao, Xinbo},
  journal={IEEE Transactions on Information Forensics and Security},
  year={2024}
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0