RN-GANdetector
Official implementation code for Detection of GAN-generated Images by Estimating Artifact Similarity(SPL2021)
Environment
Install packages
- Install PyTorch
We use PyTorch==1.7.1 for this repository, different version might meet some unforeseen problem.
Training and testing
Run train.py
or eval.py
should work with our default settings.
For different settings, please alter the files under options
.