Skip to content

BiheZhao/NAFID

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exploring Non-local Property for GAN Generated Fake Face Detection

This is a PyTorch implementation of NAFID: A Non-local Attention based Fake Image Detection Network.

Requirements

  • PyTorch >= 1.7.1
  • Numpy >= 1.21.2
  • torchvision >= 0.8.2
  • advertorch >= 0.2.3

How to run

We include recommended configurations for reproducing our results for detecting StyleGAN2 face forgery in config.py. After specifying your own home directory, you can simply run python main.py to reproduce our results.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages