Code for Generative Adversarial Ranking Nets (JMLR 2024).
After installing Anaconda, create a new Conda environment using conda env create -f environment.yml
.
Download datasets and update the data directory in read_*_dataset.py
Download pretrained ranker at https://drive.google.com/drive/folders/123GD7vO_ZMtcXtMQV2Kj5PK_0UCzFwlE?usp=share_link
Put pretrained_ranker at the directory UT-Zap50K/.
python adversarial_ranking.py
python eval_ranking.py
python eval_fid.py