Skip to content

implement about DRB-GAN: ADynamicResBlock Generative Adversarial Network for Artistic Style Transfer

License

Notifications You must be signed in to change notification settings

BossunWang/DRB-GAN

Repository files navigation

DRB-GAN

Implement about DRB-GAN: A DynamicResBlock Generative Adversarial Network for Artistic Style Transfer: https://openaccess.thecvf.com/content/ICCV2021/papers/Xu_DRB-GAN_A_Dynamic_ResBlock_Generative_Adversarial_Network_for_Artistic_Style_ICCV_2021_paper.pdf

Implement detail

Reference

Trick

To Do List

  • Explore data analysis using v2 model: cluster of style features, style classifier predicted labels difference from true label
  • Training with fp16 (not actually save any memory space)
  • Observer How to converge
  • Rolling Guidance Filter, Guided Filter, Gabor Filter
  • Evaluation Metric: LPIPS, ArtFID, SIFID
  • AdaWCT, FastDifferentiableMatSqrt
  • Weighted averaging strategy for collection style transfer
  • Different data augmentation(sharpness) with assigned artist's style

Evaluation

AFHQ

  • LPIPS: Reference-guided LPIPS values for each style with content: 0.5225579113960266
  • FID between style and stylized: 49.61556248811253
  • SIFID between style and stylized: 0.00016049967
  • IS for stylized: 6.173467775877308

Photo Scene(another domain)

  • Reference-guided LPIPS values for all style: 0.4380792519592103
  • FID between style and stylized: 127.29334051784087
  • SIFID between style and stylized: 0.08613132
  • IS for stylized: 5.70985832650343

Style classification

  • class accuracy: 0.9672864203341963
  • error rate about nicholas is highest: 66/858 = 0.0769
  • update LOUIS_WAIN 90 -> 190:
    • class accuracy: 0.961644464859899
    • error rate about LOUIS_WAIN is highest: 29/190 = 0.1526

UMAP and TSNE

UMAP for style codes

umap

TSNE for style codes

tsne

Preprocess

Observation

  • The filters of blur image like Rolling Guidance Filter and Guided Filter are generated artifact(rectangle patters and raster effect on contours)
  • Add random noise on contours by Gabor Filter is generated artifact(raster effect on contours), if using noise on non-contours same result as add_random_noise
  • original architecture not stable when adversarial weight up to 5.0 and generated artifact(rectangle patters and raster effect on contours)

About

implement about DRB-GAN: ADynamicResBlock Generative Adversarial Network for Artistic Style Transfer

Resources

License

Stars

Watchers

Forks

Packages

No packages published