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

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