Skip to content

RichardSunnyMeng/APN-official-codes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Artifact Purification Network

This is the official codes for the paper "Artifact feature purification for cross-domain detection of AI-generated images", published in Computer Vision and Image Understanding.

How to use

  1. Install requirements
conda create -n APN python==3.7
conda activate APN
pip install -r requirements.txt
  1. Download pretrained models Google Drive

  2. Run code

sh scripts/eval.sh
  1. If you want to train the model
sh scripts/run.sh

Results on GenImage

1750502188358

About

Artifact Feature Purification for Cross-Domain Generated Image Detection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors