@Author: Zikai Zhou
Arbitrary Style Transfer in Real-time with Adaptive Instance Normalization(unofficial implementation) 🚀
Using pretraining weights of VGG, adain can do image transfer tasks in real time!
-
Small Computational Resources: The size of model weight file is only about 30MB.
-
Real Time Inference: Inference with model in real time.
-
Color Preserving: Support preserving the color of original image with transferred image style.
-
Clone the repository:
git clone https://github.com/Klayand/Adain.git
-
Navigate to the project directory:
cd Adain
-
Install the dependencies:
pip install -r requirements.txt
-
Train model:
python train.py --user-envs
-
Inference model: python test.py --user-envs