# BigGAN-PyTorch Prior 
The code is modified from unofficial PyTorch BigGAN implementation https://github.com/ajbrock/BigGAN-PyTorch


For SimCLR prior: 
	https://github.com/tonylins/simclr-converter to convert SimCLR model to pytorch and save it in "pretrained_models" directory. 


For pre-trained SNGAN:

	Download model ResNetGenerator_850000.npz and SNResNetProjectionDiscriminator_850000.npz from https://github.com/pfnet-research/sngan_projection

	Run convert_sngan.py 


For training:
	
	Run scripts/launch_anime_ema.sh


For inference:

	Save TF_pool.npz of 10K test data in TF_POOL/anime/
	Run scripts/sample_anime_ema.sh