We provide some pre-trained models and a inference demo on Google Colab to reproduce the qualitative results in paper. It also includes the command to train the model.
- Please refer to the colab to create the envs and download the source models. The envs mainly includes StyleGAN and CLIP dependencies, and some commonly used packages like cv2.
- We have prepared the scripts to train new models
- For training model without entities,
sh scripts/train_OSGA.sh
- For training model with entities,
sh scripts/train_GOGA.sh
- For inference,
sh scripts/inference.sh
- For training model without entities,
This project has not been well cleaned and may contain some redundant files. If you have questions about the codes or our paper, feel free to submit issues or contact with me.
@article{Zhang2022GeneralizedOD,
title={Generalized One-shot Domain Adaption of Generative Adversarial Networks},
author={Zicheng Zhang and Yinglu Liu and Congying Han and Tiande Guo and Ting Yao and Tao Mei},
journal={arXiv preprint arXiv:2209.03665},
year={2022}
}