Research Article

An image style transfer algorithm based on attention mechanism and GhostNet

Zeyu Dong1,*, Hua Li2
1. Northeastern University
2. Beijing University of Chemical technology

* Corresponding author: [email protected]

Abstract

Image style transfer, which combines the content of one image with the style of another to create a new image, has many potential applications in the disciplines of image creation, creative style reproduction, animation production, and other areas. The majority of early image style transfer techniques used manual features. Due to advances in deep learning technology, the Generative Adversarial Network (GAN) method greatly increases the accuracy of image style transfer; however, when it comes to scenes with large color blocks, high resolution, or horizontal boundaries, their performance still falls short of practical application requirements. In this research, we present a GhostNet- and attention-based image style transfer technique. We specifically introduce the SELayer to learn and increase the weight value of each channel, which can improve the quality of style transfer and data processing capacity. In addition, GhostNet is included to accelerate image production even more. The findings of the experiments, both quantitative and qualitative, demonstrate that the suggested technique can enhance the impact of style transfer.

Keywords: image style transfer; GAN; attention mechanism.
Published: June 14, 2023
DOI: 10.54254/2755-2721/6/20230392
Volume: ACE Vol.6
pp. 1085-1091
Download PDF

References

  1. Mou Jinjuan. Research on image style transfer technology based on deep learning [J]. Electronic Components and Information Technology, 2019 (04): 82-85. doi: 10.19772/j.cnki.2096-4455.2019.4.024.
  2. Jetchev N , Bergmann U , Yildirim G . Copy the Old or Paint Anew? An Adversarial Framework for (non-) Parametric Image Stylization[J]. 2018.
  3. Gatys L A , Ecker A S , Bethge M . Image Style Transfer Using Convolutional Neural Networks[C]// 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR). IEEE, 2016.
  4. Goodfellow I , Pouget-Abadie J , Mirza M , et al. Generative Adversarial Nets[C]// Neural Information Processing Systems. MIT Press, 2014.
  5. Hicsonmez S , Samet N , Akbas E , et al. GANILLA: Generative Adversarial Networks for Image to Illustration Translation[J]. Image and Vision Computing, 2020.
  6. Jaderberg M , Simonyan K , Zisserman A , et al. Spatial Transformer Networks[C]// MIT Press. MIT Press, 2015.
  7. Han K , Wang Y , Tian Q , et al. GhostNet: More Features From Cheap Operations[C]// 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). IEEE, 2020.
  8. Jun-Yan Zhu, Taesung Park, Phillip Isola, Alexei A. Efros. Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networks
  9. Zili Yi, Hao Zhang, Ping Tan, Minglun Gong. DualGAN: Unsupervised Dual Learning for Image-to-Image Translation
  10. Di He, Yingce Xia, Tao Qin, Liwei Wang, Nenghai Yu, Tie-Yan Liu, Wei-Ying Ma. Dual Learning for Machine Translation
  11. Jie H , Li S , Gang S , et al. Squeeze-and-Excitation Networks[J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2017, PP(99).
  12. Beyond Compare 4 Current Version: 4.4.3, build 26655, released July 20, 2022 Scooter Software, Inc. 625 N Segoe Rd, Suite 104 Madison, WI 53705 USA