Home

Awesome

CTCNet: A CNN-Transformer Cooperation Network for Face Image Super-Resolution in PyTorch

A CNN-Transformer Cooperation Network for Face Image Super-Resolution
Guangwei Gao, Zixiang Xu

example result

Comparisons for ✖️8 SR on the CelebA test set.

example result

example result

Installation and Requirements

Clone this repository

git clone https://github.com/IVIPLab/CTCNet
cd CTCNet

I have tested the codes on -install required packages by pip install -r requirements.txt

Test with Pretrained Models

We provide example test commands in script test.sh for both CTCNet. Two models with difference configurations are provided for each of them, refer to section below to see the differences. Here are some test tips:

Train the Model

The commands used to train the released models are provided in script train.sh. Here are some train tips:

Pretrained models

The pretrained models and test results can be downloaded from Google Drive .

Citation

@article{gao2023ctcnet,
  title={Ctcnet: a cnn-transformer cooperation network for face image super-resolution},
  author={Gao, Guangwei and Xu, Zixiang and Li, Juncheng and Yang, Jian and Zeng, Tieyong and Qi, Guo-Jun},
  journal={IEEE Transactions on Image Processing},
  year={2023},
  publisher={IEEE}
}

License

<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.

Acknowledgement

The codes are based on SPARNet.