All Projects → saisrivathsa → StyleTransfer-PyTorch

saisrivathsa / StyleTransfer-PyTorch

Licence: MIT license
Implementation of image style transfer in PyTorch

Programming Languages

Jupyter Notebook
11667 projects

Projects that are alternatives of or similar to StyleTransfer-PyTorch

Vincent Ai Artist
Style transfer using deep convolutional neural nets
Stars: ✭ 176 (+877.78%)
Mutual labels:  style-transfer
Neural-Tile
A better tiling script for Neural-Style
Stars: ✭ 35 (+94.44%)
Mutual labels:  style-transfer
Face-Sketch
Face Sketch Synthesis with Style Transfer using Pyramid Column Feature, WACV2018
Stars: ✭ 52 (+188.89%)
Mutual labels:  style-transfer
Style transfer
CNN image style transfer 🎨.
Stars: ✭ 210 (+1066.67%)
Mutual labels:  style-transfer
ArtsyNetworks
Deep Learning + Arts
Stars: ✭ 24 (+33.33%)
Mutual labels:  style-transfer
transformer-drg-style-transfer
This repository have scripts and Jupyter-notebooks to perform all the different steps involved in Transforming Delete, Retrieve, Generate Approach for Controlled Text Style Transfer
Stars: ✭ 97 (+438.89%)
Mutual labels:  style-transfer
Dst
Deformable Style Transfer (ECCV 2020)
Stars: ✭ 167 (+827.78%)
Mutual labels:  style-transfer
style swap tensorflow
tensorflow code for Fast Patch-based Style Transfer of Arbitrary Style
Stars: ✭ 42 (+133.33%)
Mutual labels:  style-transfer
mlmodelzoo
Build your iOS 11+ apps with the ready-to-use Core ML models below
Stars: ✭ 17 (-5.56%)
Mutual labels:  style-transfer
Domain-Aware-Style-Transfer
Official Implementation of Domain-Aware Universal Style Transfer
Stars: ✭ 84 (+366.67%)
Mutual labels:  style-transfer
Warpgan
(CVPR 2019 Oral) Style Transfer with Geometric Deformation
Stars: ✭ 215 (+1094.44%)
Mutual labels:  style-transfer
MIDI-VAE
No description or website provided.
Stars: ✭ 56 (+211.11%)
Mutual labels:  style-transfer
awesome-text-style-transfer
A list of resources about Text Style Transfer
Stars: ✭ 43 (+138.89%)
Mutual labels:  style-transfer
Cyclegan Music Style Transfer
Symbolic Music Genre Transfer with CycleGAN
Stars: ✭ 201 (+1016.67%)
Mutual labels:  style-transfer
style-transfer-video-processor
This code extends the neural style transfer image processing technique to video by generating smooth transitions between several reference style images
Stars: ✭ 113 (+527.78%)
Mutual labels:  style-transfer
Faststyle
Tensorflow implementation of fast neural style transfer.
Stars: ✭ 170 (+844.44%)
Mutual labels:  style-transfer
MeuralPaint
TensorFlow implementation of CNN fast neural style transfer ⚡️ 🎨 🌌
Stars: ✭ 19 (+5.56%)
Mutual labels:  style-transfer
StyleGAN demo
The re-implementation of style-based generator idea
Stars: ✭ 22 (+22.22%)
Mutual labels:  style-transfer
StyleCLIPDraw
Styled text-to-drawing synthesis method. Featured at IJCAI 2022 and the 2021 NeurIPS Workshop on Machine Learning for Creativity and Design
Stars: ✭ 247 (+1272.22%)
Mutual labels:  style-transfer
Joint-Bilateral-Learning
An unofficial implementation of Joint Bilateral Learning for Real-time Universal photorealistic Style Transfer
Stars: ✭ 52 (+188.89%)
Mutual labels:  style-transfer

StyleTransfer-PyTorch

Implementation of image style transfer in PyTorch. The paper outlining the transfer method can be found here.

Setting up the environment

You can install the required packages to run this notebook by running:

pip install -r requirements.txt

This notebook works on both CPU and GPU.

Using custom images

  • Put the images you want to use for style transfer in the images folder.
  • Change the content_path and style_path to the respective images you want to use.
  • The output images will get exported to the output folder.

Tweaking the model

  • Change the style_weights to change the effect of each style layer on the output (lower weights for later layers is preferrable).
  • The ratio of content_weight and style_weight determines the trade-off between content and style of the image(lower ratio facilitates high rates of style transfer).

Sample Output

Content Image Style image Style transferred image
alt text alt text alt text

Common errors

If you can't run the notebook on your device's GPU manually set the device varaible to cpu.

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].