Skip to content

Custom implementation of "Arbitrary Style Transfer in Real-time with Adaptive Instance Normalization" paper

Notifications You must be signed in to change notification settings

adriaciurana/AdaIN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Sep 29, 2021
ee89322 · Sep 29, 2021

History

11 Commits
Sep 29, 2021
Sep 25, 2021
Sep 25, 2021
Sep 25, 2021
Sep 29, 2021
Sep 29, 2021
Sep 25, 2021
Sep 25, 2021
Sep 29, 2021
Sep 25, 2021
Sep 27, 2021
Sep 25, 2021
Sep 27, 2021
Sep 25, 2021
Sep 29, 2021
Sep 25, 2021

Repository files navigation

AdaIN: Arbitrary Style Transfer in Real-time with Adaptive Instance Normalization

paper

Train script

You don't need much more parameters to do the training. You can check them out in the script itself.

If you want, the training script also supports mixed precision, just add the --mixed_precision flag.

python train.py --experiment name

Test inference script

The following script creates a transfer-style matrix between different content and style images.

python test.py --weights_path WEIGHTS_PATH \
	--image_content_path IMAGE_CONTENT_PATH \
	--image_style_path IMAGE_STYLE_PATH \
	--alpha 0.75 \
	--device 0

About

Custom implementation of "Arbitrary Style Transfer in Real-time with Adaptive Instance Normalization" paper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published