Pradur f661546a50 | 1 month ago | |
---|---|---|
checkpoints/SDGAN | 1 month ago | |
data | 1 month ago | |
datasets/CUFS | 1 month ago | |
imgs | 1 month ago | |
models | 1 month ago | |
options | 1 month ago | |
results/SDGAN/log | 1 month ago | |
util | 1 month ago | |
LICENSE | 1 month ago | |
README.md | 1 month ago | |
requirements.txt | 1 month ago | |
test.py | 1 month ago | |
train.py | 1 month ago |
git clone https://github.com/qinghew/SDGAN
cd SDGAN
pip install -r requirements.txt
python train.py --dataroot dataset_root --name SDGAN
The training results and loss plots are saved to here: ./results/SDGAN
. cd there, run tensorboard --logdir=./ --port=6006
and click the URL http://localhost:6006.
Test the model:
#!./scripts/test_cyclegan.sh
python test.py --dataroot dataset_root --name SDGAN --gpu_ids 0 --aspect_ratio 0 --model cycle_gan
./results/SDGAN/test_latest/
.SDGAN:
Omni-directional pixel-gradient convolution kernel:
Results on photo→sketch:
Results on sketch→photo:
Results on APDrawing⇔photo:
Results on wild data:
Results on the constructed unpaired datasets:
If you use this code for your research, please cite our papers.
@article{wang2022SDGAN,
title={Self-Discriminative Cycle Generative Adversarial Networks for Face Image Translation},
author={Wang, Qinghe and Cao, Bing and Zhu, Pengfei and Wang, Nannan and Hu, Qinghua and Gao, Xinbo},
journal={SCIENTIA SINICA Informationis},
pages={DOI: 10.1360/SSI-2021-0321},
year={2022}
}
No Description
Python Text
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》