All Projects β†’ JianqiangRen β†’ Aams

JianqiangRen / Aams

Licence: mit
Attention-aware Multi-stroke Style Transfer (CVPR2019)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Aams

Ebsynth
Fast Example-based Image Synthesis and Style Transfer
Stars: ✭ 554 (+714.71%)
Mutual labels:  style-transfer
Py Style Transfer
🎨 Artistic neural style transfer with tweaks (pytorch).
Stars: ✭ 23 (-66.18%)
Mutual labels:  style-transfer
Adain Style
Arbitrary Style Transfer in Real-time with Adaptive Instance Normalization
Stars: ✭ 1,049 (+1442.65%)
Mutual labels:  style-transfer
Tensorflow 101
TensorFlow 101: Introduction to Deep Learning for Python Within TensorFlow
Stars: ✭ 642 (+844.12%)
Mutual labels:  style-transfer
Data Augmentation Review
List of useful data augmentation resources. You will find here some not common techniques, libraries, links to github repos, papers and others.
Stars: ✭ 785 (+1054.41%)
Mutual labels:  style-transfer
Transferlearning
Transfer learning / domain adaptation / domain generalization / multi-task learning etc. Papers, codes, datasets, applications, tutorials.-迁移学习
Stars: ✭ 8,481 (+12372.06%)
Mutual labels:  style-transfer
Hidt
Official repository for the paper "High-Resolution Daytime Translation Without Domain Labels" (CVPR2020, Oral)
Stars: ✭ 513 (+654.41%)
Mutual labels:  style-transfer
Torch Models
Stars: ✭ 65 (-4.41%)
Mutual labels:  style-transfer
Arbitrary Image Stylization Tfjs
Arbitrary style transfer using TensorFlow.js
Stars: ✭ 822 (+1108.82%)
Mutual labels:  style-transfer
Style Transfer In Text
Paper List for Style Transfer in Text
Stars: ✭ 1,030 (+1414.71%)
Mutual labels:  style-transfer
Stylized Neural Painting
Official Pytorch implementation of the preprint paper "Stylized Neural Painting", in CVPR 2021.
Stars: ✭ 663 (+875%)
Mutual labels:  style-transfer
Landmark Detection
Four landmark detection algorithms, implemented in PyTorch.
Stars: ✭ 747 (+998.53%)
Mutual labels:  style-transfer
Deep preset
[WACV'21] Deep Preset: Blending and Retouching Photos with Color Style Transfer
Stars: ✭ 29 (-57.35%)
Mutual labels:  style-transfer
Deep Motion Editing
An end-to-end library for editing and rendering motion of 3D characters with deep learning [SIGGRAPH 2020]
Stars: ✭ 620 (+811.76%)
Mutual labels:  style-transfer
Cyclegan Qp
Official PyTorch implementation of "Artist Style Transfer Via Quadratic Potential"
Stars: ✭ 59 (-13.24%)
Mutual labels:  style-transfer
Pytorch Adain
Unofficial pytorch implementation of 'Arbitrary Style Transfer in Real-time with Adaptive Instance Normalization' [Huang+, ICCV2017]
Stars: ✭ 550 (+708.82%)
Mutual labels:  style-transfer
Style Transfer
Style Transfer - Alia Bhatt (Google Colab)
Stars: ✭ 26 (-61.76%)
Mutual labels:  style-transfer
Texture nets
Code for "Texture Networks: Feed-forward Synthesis of Textures and Stylized Images" paper.
Stars: ✭ 1,147 (+1586.76%)
Mutual labels:  style-transfer
Neural Painters X
Neural Paiters
Stars: ✭ 61 (-10.29%)
Mutual labels:  style-transfer
Multimodal transfer
tensorflow implementation of 'Multimodal Transfer: A Hierarchical Deep Convolutional Neural Network for Fast Artistic Style Transfer'
Stars: ✭ 31 (-54.41%)
Mutual labels:  style-transfer

Attention-aware Multi-stroke Style Transfer

This is the official Tensorflow implementation of our paper:

Attention-aware Multi-stroke Style Transfer, CVPR 2019. [Project] [arXiv]

Yuan Yao, Jianqiang Ren, Xuansong Xie, Weidong Liu, Yong-Jin Liu, Jun Wang

Overview

This project provides an arbitrary style transfer method that achieves both faithful style transfer and visual consistency between the content and stylized images. The key idea of the proposed method is to employ self-attention mechanism, multi-scale style swap and a flexible stroke pattern fusion strategy to smoothly and adaptably apply suitable stroke patterns on different regions. In this manner, the synthesized images of our method can be more visually pleasing and generated in one feed-forward pass.

Examples

Prerequisites

  • Python (version 2.7)
  • Tensorflow (>=1.4)
  • Numpy
  • Matplotlib

Download

  • MSCOCO dataset is applied for the training of the proposed self-attention autoencoder.
  • Pre-trained VGG-19 model.

Usage

Test

Make sure there exists a sub-folder named test_result under images folder, then run

$ python test.py --model tf_model/aams.pb \
                        --content images/content/lenna_cropped.jpg \
                        --style images/style/candy.jpg \
                        --inter_weight 1.0

both of the stylized image and the attention map will be generated in test_result.

Our model is trained with tensorflow 1.4.

Train

Download the MSCOCO dataset and filter out images with unsuitable format(grayscale,etc) by running

$ python filter_training_images.py --dataset datasets/COCO_Datasets/val2014

then

$ python train.py --dataset datasets/COCO_Datasets/val2014

Citation

If our work is useful for your research, please consider citing:

@inproceedings{yao2019attention,
    title={Attention-aware Multi-stroke Style Transfer},
    author={Yao, Yuan and Ren, Jianqiang and Xie, Xuansong and Liu, Weidong and Liu, Yong-Jin and Wang, Jun},
    booktitle={IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
    year={2019}
}

License

Β© Alibaba, 2019. For academic and non-commercial use only.

Acknowledgement

We express gratitudes to the style-agnostic style transfer works including Style-swap, WCT and Avatar-Net, as we benefit a lot from both their papers and codes.

Contact

If you have any questions or suggestions about this paper, feel free to contact Yuan Yao or Jianqiang Ren.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].