All Projects → tensorlayer → Adaptive Style Transfer

tensorlayer / Adaptive Style Transfer

Arbitrary Style Transfer in Real-time with Adaptive Instance Normalization

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Adaptive Style Transfer

Tensorrider self driving car
基于BP神经网络的自动驾驶模型车。包含收集数据、控制模型生成与在线/离线自动运行所需的程序。
Stars: ✭ 17 (-80%)
Mutual labels:  tensorlayer
Adain Style
Arbitrary Style Transfer in Real-time with Adaptive Instance Normalization
Stars: ✭ 1,049 (+1134.12%)
Mutual labels:  style-transfer
Aams
Attention-aware Multi-stroke Style Transfer (CVPR2019)
Stars: ✭ 68 (-20%)
Mutual labels:  style-transfer
Style Transfer
Style Transfer - Alia Bhatt (Google Colab)
Stars: ✭ 26 (-69.41%)
Mutual labels:  style-transfer
Hyperpose
HyperPose: A Collection of Real-time Human Pose Estimation
Stars: ✭ 961 (+1030.59%)
Mutual labels:  tensorlayer
Imitation Learning Dagger Torcs
A Simple Example for Imitation Learning with Dataset Aggregation (DAGGER) on Torcs Env
Stars: ✭ 60 (-29.41%)
Mutual labels:  tensorlayer
Arbitrary Image Stylization Tfjs
Arbitrary style transfer using TensorFlow.js
Stars: ✭ 822 (+867.06%)
Mutual labels:  style-transfer
Stif Indonesia
Implementation of "Semi-Supervised Low-Resource Style Transfer of Indonesian Informal to Formal Language with Iterative Forward-Translation".
Stars: ✭ 79 (-7.06%)
Mutual labels:  style-transfer
Style Transfer In Text
Paper List for Style Transfer in Text
Stars: ✭ 1,030 (+1111.76%)
Mutual labels:  style-transfer
Texture nets
Code for "Texture Networks: Feed-forward Synthesis of Textures and Stylized Images" paper.
Stars: ✭ 1,147 (+1249.41%)
Mutual labels:  style-transfer
Transferlearning
Transfer learning / domain adaptation / domain generalization / multi-task learning etc. Papers, codes, datasets, applications, tutorials.-迁移学习
Stars: ✭ 8,481 (+9877.65%)
Mutual labels:  style-transfer
Multimodal transfer
tensorflow implementation of 'Multimodal Transfer: A Hierarchical Deep Convolutional Neural Network for Fast Artistic Style Transfer'
Stars: ✭ 31 (-63.53%)
Mutual labels:  style-transfer
Neural Painters X
Neural Paiters
Stars: ✭ 61 (-28.24%)
Mutual labels:  style-transfer
Py Style Transfer
🎨 Artistic neural style transfer with tweaks (pytorch).
Stars: ✭ 23 (-72.94%)
Mutual labels:  style-transfer
Agis Net
[SIGGRAPH Asia 2019] Artistic Glyph Image Synthesis via One-Stage Few-Shot Learning
Stars: ✭ 77 (-9.41%)
Mutual labels:  style-transfer
Tensorlayer
Deep Learning and Reinforcement Learning Library for Scientists and Engineers 🔥
Stars: ✭ 6,796 (+7895.29%)
Mutual labels:  tensorlayer
Cyclegan Qp
Official PyTorch implementation of "Artist Style Transfer Via Quadratic Potential"
Stars: ✭ 59 (-30.59%)
Mutual labels:  style-transfer
Frostnet
FrostNet: Towards Quantization-Aware Network Architecture Search
Stars: ✭ 85 (+0%)
Mutual labels:  style-transfer
Style Transfer.js
👨‍🎨️ Generate novel artistic images in Node.js
Stars: ✭ 78 (-8.24%)
Mutual labels:  style-transfer
Torch Models
Stars: ✭ 65 (-23.53%)
Mutual labels:  style-transfer

Adaptive Style Transfer in TensorFlow and TensorLayer

Before "Arbitrary Style Transfer in Real-time with Adaptive Instance Normalization", there were two main approaches for style transfer. First, given one content image and one style image, we randomly initialize a noise image and update it to get the output image. The drawback of this apporach is slow, it usually takes 3 mins to get one image. After that, academic proposed to train one model for one specific style, which input one image to network, and output one image. This approach is far more faster than the previous approach, and achieved real-time style transfer.

However, one model for one style still not good enough for production. If a mobile APP want to support 100 styles offline, it is impossible to store 100 models in the cell phone. Adaptive style transfer which in turn supports arbitrary styles in one single model !!! We don't need to train new model for new style. Just simply input one content image and one style image you want !!!

⚠️ ⚠️ This repo will be moved into here (please star) for life-cycle management soon. More cool Computer Vision applications such as pose estimation and style transfer can be found in this organization.

Usage

  1. Install TensorFlow and the master of TensorLayer:
pip install git+https://github.com/tensorlayer/tensorlayer.git

  1. You can use the train.py script to train your own model. To train the model, you need to download MSCOCO dataset and Wikiart dataset, and put the dataset images under the 'dataset/COCO_train_2014' folder and 'dataset/wiki_all_images' folder.

  2. Alternatively, you can use the test.py script to run my pretrained models. My pretrained models can be downloaded from here, and should be put into the 'pretrained_models' folder for testing.

Results

Here are some result images (Left to Right: Content , Style , Result):

Enjoy !

Discussion

License

  • This project is for academic use only.
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].